]> git.lyx.org Git - lyx.git/blobdiff - src/Lexer.h
Fix crash on OS-switch of dark/light mode (#12786)
[lyx.git] / src / Lexer.h
index 9568b6e19de63e7a8992d61513066280411cac87..02ec7470e18d8214a196588bf4fbede18114014f 100644 (file)
@@ -138,14 +138,12 @@ public:
        std::string const getString(bool trim = false) const;
        ///
        docstring const getDocString(bool trim = false) const;
-       /** Get a long string, ended by the tag `endtag'.
-           This string can span several lines. The first line
-           serves as a template for how many spaces the lines
-           are indented. This much white space is skipped from
-           each following line. This mechanism does not work
-           perfectly if you use tabs.
+       /** Get a long string, ended by the tag `endtoken'. This string
+           can span several lines. The first line serves as a template
+           for what sequence of tabs and spaces make up the indentation.
+           This prefix is skipped from each following line.
        */
-       docstring getLongString(docstring const & endtag);
+       docstring getLongString(docstring const & endtoken);
 
        /// Pushes a token list on a stack and replaces it with a new one.
        template<int N> void pushTable(LexerKeyword (&table)[N])