]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.h
Try to use the right width for math symbols
[lyx.git] / src / FuncRequest.h
index 80587f9f01cd25eadc1d8ba957dc144db99a2922..42829ae8de26302df1f0e4702296953679e0dae7 100644 (file)
@@ -98,6 +98,11 @@ public:
        static FuncRequest const unknown;
        ///
        static FuncRequest const noaction;
+       ///
+       bool allowAsync() const { return allow_async_; }
+       ///
+       void allowAsync(bool allow_async) { allow_async_ = allow_async; }
+
 private:
        /// the action
        FuncCode action_;
@@ -116,6 +121,9 @@ private:
        mouse_button::state button_;
        ///
        KeyModifier modifier_;
+       /// Commands should be run synchronously when they
+       /// are launched via "command-sequence" or "repeat" or "buffer-forall"
+       bool allow_async_;
 };