X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLexer.h;h=02ec7470e18d8214a196588bf4fbede18114014f;hb=32209c9845165a1f686d3faddd1afcedc865da0b;hp=149cc7ddf2962bca6daaa6e3e131f1560ae51201;hpb=51aebc9327345f6ea065035f489dbfec1568279f;p=lyx.git diff --git a/src/Lexer.h b/src/Lexer.h index 149cc7ddf2..02ec7470e1 100644 --- a/src/Lexer.h +++ b/src/Lexer.h @@ -24,8 +24,6 @@ namespace lyx { namespace support { class FileName; } -class PushPopHelper; - /** A helper structure to describe a keyword for the Lexer. Usually used bundled in C style arrays and passed to the Lexer using a LexerKeywordTable object. @@ -140,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 void pushTable(LexerKeyword (&table)[N])