]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / FuncRequest.h
index d5f5aef003a2b30b609b3543eb82a2d1ec87c78f..19f571a091c7503dcf7d90c37a4e81e370cf8103 100644 (file)
@@ -86,7 +86,7 @@ public:
        ///
        mouse_button::state button() const { return button_; }
        ///
-       KeyModifier modifier() { return modifier_; }
+       KeyModifier modifier() const { return modifier_; }
 
        /// argument parsing, extract argument i as std::string
        std::string getArg(unsigned int i) const;
@@ -102,7 +102,7 @@ public:
        bool allowAsync() const { return allow_async_; }
        ///
        void allowAsync(bool allow_async) { allow_async_ = allow_async; }
-       
+
 private:
        /// the action
        FuncCode action_;
@@ -121,7 +121,8 @@ 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_;
 };