Syntactically highlights translations.
More...
|
| void | highlightBlock (const QString &text) override |
| | Applies highlighting rules to the given block of text.
|
Syntactically highlights translations.
Definition at line 16 of file LanguageEditor.h.
◆ LanguageHighlighter()
| LanguageHighlighter::LanguageHighlighter |
( |
QTextDocument * | parent = 0 | ) |
|
Constructs a LanguageHighlighter for the given text document.
- Parameters
-
| [in] | parent | The text document to apply syntax highlighting to. |
◆ highlightBlock()
| void LanguageHighlighter::highlightBlock |
( |
const QString & | text | ) |
|
|
overrideprotected |
Applies highlighting rules to the given block of text.
- Parameters
-
| [in] | text | The text block to highlight. |
◆ setSearchString()
| void LanguageHighlighter::setSearchString |
( |
const QString & | search_string | ) |
|
Sets the search string to highlight in the translation text.
- Parameters
-
| [in] | search_string | The string pattern to highlight. |
The documentation for this class was generated from the following file: