]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
tex2lyx: fix import of umlauts and ß in math (#12739)
[lyx.git] / src / Text.h
index 9736981941b2b7d99c337ef195d85f512b344dcc..01d47d69662ffba9ff06d21103222d62a99e3473 100644 (file)
@@ -331,8 +331,9 @@ public:
        bool completionSupported(Cursor const & cur) const;
        ///
        CompletionList const * createCompletionList(Cursor const & cur) const;
-       ///
-       bool insertCompletion(Cursor & cur, docstring const & s, bool /*finished*/);
+       /// Do a completion at the cursor position. Return true on success.
+       /// The completion does not contain the prefix. Handles undo.
+       bool insertCompletion(Cursor & cur, docstring const & s);
        ///
        docstring completionPrefix(Cursor const & cur) const;
        /// find a paragraph before \p par with the given \p depth, if such