aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditor_global.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2016-01-19 14:54:59 +0100
committerMarco Bubke <marco.bubke@theqtcompany.com>2016-02-02 11:26:58 +0000
commitf41c6b0c4bc044a09b2219a3e1ee6bb872e5c699 (patch)
tree996b54ea4f7950c572e97692a4843b5b8195688f /src/plugins/texteditor/texteditor_global.h
parenta0cc107b74781806a858fb60adc3ba72de36c4b9 (diff)
Clang: Remove TextEditorWidget from AssistProposalItemInterface
Change-Id: I0ac924f88c1347d1b0027c47118b7ed21daf4869 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/texteditor_global.h')
-rw-r--r--src/plugins/texteditor/texteditor_global.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditor_global.h b/src/plugins/texteditor/texteditor_global.h
index 76fa7be016..baceabf108 100644
--- a/src/plugins/texteditor/texteditor_global.h
+++ b/src/plugins/texteditor/texteditor_global.h
@@ -34,4 +34,17 @@
# define TEXTEDITOR_EXPORT Q_DECL_IMPORT
#endif
+namespace TextEditor {
+
+enum TextPositionOperation
+{
+ CurrentPosition = 1,
+ EndOfLinePosition = 2,
+ StartOfLinePosition = 3,
+ AnchorPosition = 4,
+ EndOfDocPosition = 5
+};
+
+} // namespace TextEditor
+
#endif // TEXTEDITOR_GLOBAL_H