Additional parameters that can be passed to a formatter.
More...
#include <formatterparams.h>
|
| | FormatterParams (const std::string &n) |
|
void | setParserInfo (const std::string &name, unsigned int l) |
|
void | setParserInfo (const ParserInfo *p) |
|
void | setParserInfo (const std::string &name, unsigned int l) |
|
void | setParserInfo (const ParserInfo *p) |
|
|
std::string | fileNameNoPath |
| | file name without path
|
| int | start |
| | The start position of the string to format within the whole string (line).
|
|
std::string | filename |
|
unsigned int | line |
Additional parameters that can be passed to a formatter.
◆ FormatterParams()
| srchilite::FormatterParams::FormatterParams |
( |
const std::string & | n | ) |
|
|
inline |
- Parameters
-
| the | file name (possible path will be stripped) |
◆ start
| int srchilite::FormatterParams::start |
The start position of the string to format within the whole string (line).
Note that this makes sense only for strings that are not to be formatted as normal. A negative value means "not specified" IMPORTANT: do not use this if formatting optimization is on.
The documentation for this struct was generated from the following file:
- /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/formatterparams.h