]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Mark constructors with only one parameter as explicit
[lyx.git] / src / Cursor.h
index 35d2fc97680dcfc9989c50a29f18f3ed13a9c2c5..4091790603d8b325e05310503b6c7bf7b98a7f54 100644 (file)
@@ -279,7 +279,13 @@ public:
        /// get the resut of the last dispatch
        DispatchResult const & result() const;
 
-       ///
+       /// Set the cursor language from current input method language
+       /* Considers first exact math with the codes used in the document,
+        * then approximate match among the same list, and finally exact
+        * or partial match with the whole list of languages.
+        */
+       void setLanguageFromInput();
+       /// Set the current font of the cursor from its location. 
        void setCurrentFont();
 
        /**