mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Correct the description of Lexer::getLongString
The fact that it does not work with tabs has been fixed long ago.
This commit is contained in:
parent
253d532974
commit
8ec3397da3
10
src/Lexer.h
10
src/Lexer.h
@ -138,12 +138,10 @@ public:
|
||||
std::string const getString(bool trim = false) const;
|
||||
///
|
||||
docstring const getDocString(bool trim = false) const;
|
||||
/** Get a long string, ended by the tag `endtoken'.
|
||||
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 & endtoken);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user