File src/FilePrinter.cpp changed (mode: 100644) (index 0244b4a..cc2e078) |
... |
... |
private: |
191 |
191 |
|
|
192 |
192 |
} |
} |
193 |
193 |
|
|
194 |
|
FilePrinter::FilePrinter(const FilePrinterSettings &settings, bool allowColors) |
|
195 |
|
: colorizeOutput(allowColors && settings.isColorOutputAllowed()), |
|
|
194 |
|
FilePrinter::FilePrinter(const FilePrinterSettings &settings) |
|
195 |
|
: colorizeOutput(settings.isColorOutputAllowed()), |
196 |
196 |
highlighter(settings.isHtmlOutput() ? DATADIR "/srchilight/html.outlang" |
highlighter(settings.isHtmlOutput() ? DATADIR "/srchilight/html.outlang" |
197 |
197 |
: "esc256.outlang"), |
: "esc256.outlang"), |
198 |
198 |
langMap("lang.map") |
langMap("lang.map") |
File src/FilePrinter.hpp changed (mode: 100644) (index dfe5045..713b327) |
... |
... |
public: |
77 |
77 |
* @brief Constructs an object performing some highlighting preparations. |
* @brief Constructs an object performing some highlighting preparations. |
78 |
78 |
* |
* |
79 |
79 |
* @param settings FilePrinter settings. |
* @param settings FilePrinter settings. |
80 |
|
* @param allowColors Highlight source file. |
|
81 |
80 |
*/ |
*/ |
82 |
|
explicit FilePrinter(const FilePrinterSettings &settings, |
|
83 |
|
bool allowColors = true); |
|
|
81 |
|
explicit FilePrinter(const FilePrinterSettings &settings); |
84 |
82 |
|
|
85 |
83 |
public: |
public: |
86 |
84 |
/** |
/** |