Changeset View
Changeset View
Standalone View
Standalone View
src/utils/kateglobal.h
Show All 18 Lines | |||||
19 | * Boston, MA 02110-1301, USA. | 19 | * Boston, MA 02110-1301, USA. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef KATE_GLOBAL_H | 22 | #ifndef KATE_GLOBAL_H | ||
23 | #define KATE_GLOBAL_H | 23 | #define KATE_GLOBAL_H | ||
24 | 24 | | |||
25 | #include <ktexteditor_export.h> | 25 | #include <ktexteditor_export.h> | ||
26 | #include "katescript.h" | 26 | #include "katescript.h" | ||
27 | #include "variable.h" | ||||
27 | 28 | | |||
28 | #include <ktexteditor/editor.h> | 29 | #include <ktexteditor/editor.h> | ||
29 | #include "ktexteditor/view.h" | 30 | #include "ktexteditor/view.h" | ||
30 | 31 | | |||
31 | #include <KAboutData> | 32 | #include <KAboutData> | ||
32 | #include <KSharedConfig> | 33 | #include <KSharedConfig> | ||
33 | 34 | | |||
34 | #include <KTextEditor/Application> | 35 | #include <KTextEditor/Application> | ||
▲ Show 20 Lines • Show All 514 Lines • ▼ Show 20 Line(s) | 437 | private: | |||
549 | */ | 550 | */ | ||
550 | QScopedPointer<KateDefaultColors> m_defaultColors; | 551 | QScopedPointer<KateDefaultColors> m_defaultColors; | ||
551 | 552 | | |||
552 | /** | 553 | /** | ||
553 | * Shared history models for search & replace. | 554 | * Shared history models for search & replace. | ||
554 | */ | 555 | */ | ||
555 | QStringListModel *m_searchHistoryModel; | 556 | QStringListModel *m_searchHistoryModel; | ||
556 | QStringListModel *m_replaceHistoryModel; | 557 | QStringListModel *m_replaceHistoryModel; | ||
558 | | ||||
559 | /** | ||||
560 | * Contains a lookup from the variable to the Variable instance. | ||||
561 | */ | ||||
562 | QHash<QString, KTextEditor::Variable> m_variableExactMatches; | ||||
563 | | ||||
564 | /** | ||||
565 | * Contains a lookup from the variable prefix to the Variable instance. | ||||
566 | */ | ||||
567 | QHash<QString, KTextEditor::Variable> m_variablePrefixMatches; | ||||
557 | }; | 568 | }; | ||
558 | 569 | | |||
559 | } | 570 | } | ||
560 | 571 | | |||
561 | #endif | 572 | #endif | ||
562 | 573 | |