summaryrefslogtreecommitdiffstats
path: root/src/__TODO
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-04-13 12:57:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-04-13 12:57:12 +0900
commit658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b (patch)
treed5e97ff83fa1f6aa60b757c7040c50ac0b3d87d1 /src/__TODO
parent64dc8cad728f6680166df0aa7b6ba797e1aa0c2b (diff)
downloaduniversal-indent-gui-tqt-658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b.tar.gz
universal-indent-gui-tqt-658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b.zip
Initialize TQScintilla's editor. TabWidth settings is now saved and restored across executions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/__TODO')
-rw-r--r--src/__TODO/UiGuiHighlighter.cpp4
-rw-r--r--src/__TODO/UiGuiHighlighter.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/__TODO/UiGuiHighlighter.cpp b/src/__TODO/UiGuiHighlighter.cpp
index cfb99c9..a5065c1 100644
--- a/src/__TODO/UiGuiHighlighter.cpp
+++ b/src/__TODO/UiGuiHighlighter.cpp
@@ -79,13 +79,13 @@
/*
\class UiGuiHighlighter
\ingroup grp_EditorComponent
- \brief UiGuiHighlighter used for selecting the syntax highlighter/lexer for the QsciScintilla component.
+ \brief UiGuiHighlighter used for selecting the syntax highlighter/lexer for the TQextScintilla component.
*/
/*
\brief The constructor initializes some regular expressions and keywords to identify cpp tokens
*/
-UiGuiHighlighter::UiGuiHighlighter(QsciScintilla *parent) :
+UiGuiHighlighter::UiGuiHighlighter(TQextScintilla *parent) :
TQObject(parent)
{
_qsciEditorParent = parent;
diff --git a/src/__TODO/UiGuiHighlighter.h b/src/__TODO/UiGuiHighlighter.h
index 3dd8200..602017e 100644
--- a/src/__TODO/UiGuiHighlighter.h
+++ b/src/__TODO/UiGuiHighlighter.h
@@ -28,7 +28,7 @@
class TQAction;
class TQSettings;
-class QsciScintilla;
+class TQextScintilla;
class QsciLexer;
@@ -37,7 +37,7 @@ class UiGuiHighlighter : public TQObject
Q_OBJECT
public:
- UiGuiHighlighter(QsciScintilla *parent);
+ UiGuiHighlighter(TQextScintilla *parent);
void turnHighlightOff();
void turnHighlightOn();
@@ -64,7 +64,7 @@ class UiGuiHighlighter : public TQObject
private:
bool _highlightingIsOn;
- QsciScintilla *_qsciEditorParent;
+ TQextScintilla *_qsciEditorParent;
TQMap<int, TQFont> _fontForStyles;
TQMap<int, TQColor> _colorForStyles;
QsciLexer *_lexer;