23 #ifndef ABSTRACTCODEEDITORWIDGET_H
24 #define ABSTRACTCODEEDITORWIDGET_H
26 #include "../common/sharedStructures.h"
27 #include "../codeEditor/codeEditor.h"
30 #include "../codeEditor/syntaxHighlighter/syntaxHighlighterBase.h"
31 #include "../codeEditor/modes/symbolMatcherMode.h"
32 #include "../codeEditor/modes/caretLineHighlight.h"
33 #include "../codeEditor/modes/pyCalltips.h"
34 #include "../codeEditor/modes/codeCompletion.h"
35 #include "../codeEditor/modes/pyCalltips.h"
36 #include "../codeEditor/modes/pyAutoIndent.h"
38 #include <qstringlist.h>
41 #include <qsharedpointer.h>
53 QString getWordAtPosition(
const int &line,
const int &index)
const;
57 enum tUserSelectionState { selNo, selRange };
61 virtual void loadSettings();
64 QString formatConsoleCodePart(
const QString &text)
const;
66 QPixmap loadMarker(
const QString &name,
int sizeAt96dpi)
const;
68 tUserSelectionState m_userSelectionState;
70 QSharedPointer<SyntaxHighlighterBase> m_pythonSyntaxHighlighter;
71 QSharedPointer<CodeEditorStyle> m_editorStyle;
72 QSharedPointer<SymbolMatcherMode> m_symbolMatcher;
73 QSharedPointer<CaretLineHighlighterMode> m_caretLineHighlighter;
74 QSharedPointer<PyCalltipsMode> m_calltipsMode;
75 QSharedPointer<CodeCompletionMode> m_codeCompletionMode;
76 QSharedPointer<PyAutoIndentMode> m_pyAutoIndentMode;
82 void reloadSettings() { loadSettings(); };
85 void userSelectionChanged(
int lineFrom,
int indexFrom,
int lineTo,
int indexTo);
Definition: codeEditor.h:110
Definition: apiFunctionsGraph.cpp:39