]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
If a master is being created at loading the child, un-hide it.
[lyx.git] / src / Cursor.h
index 5fb52638b7120f899db36d569cdf5300562b0be4..55cc30e941ebee2097dfa690de65b9d4a0811a83 100644 (file)
@@ -500,9 +500,9 @@ public:
        void setScreenPos(int x, int y);
        /// current offset in the top cell
 
-       /// interpret name a name of a macro. Returns true if
-       /// something got inserted.
-       bool macroModeClose();
+       /// interpret name of a macro or ditch it if \c cancel is true.
+       /// Returns true if something got inserted.
+       bool macroModeClose(bool cancel = false);
        /// are we currently typing the name of a macro?
        bool inMacroMode() const;
        /// get access to the macro we are currently typing