#include <formatterparams.h>
Inherits srchilite::ParserInfo.
Public Member Functions | |
FormatterParams (const std::string &n) | |
void | setParserInfo (const std::string &name, unsigned int l) |
void | setParserInfo (const ParserInfo *p) |
Public Attributes | |
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 |
srchilite::FormatterParams::FormatterParams | ( | const std::string & | n | ) | [inline] |
the | file name (possible path will be stripped) |
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.