aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-16 08:56:28 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-16 08:56:28 +1000
commit2cf005d9cfed0d1b5db6fdc9f4df24caf5c8b920 (patch)
treee68a436eab40a1183d28e02717f5368df9169150 /src/Editor.h
parent9f1fb22f074a8b7d5c97f8a8c5894927f5bb01d1 (diff)
downloadscintilla-mirror-2cf005d9cfed0d1b5db6fdc9f4df24caf5c8b920.tar.gz
Use enum class for selectionUnit (previously selectionType) for more type safety.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 74137cd48..8c875a49c 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -210,7 +210,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
int dwellDelay;
int ticksToDwell;
bool dwelling;
- enum { selChar, selWord, selSubLine, selWholeLine } selectionType;
+ enum class TextUnit { character, word, subLine, wholeLine } selectionUnit;
Point ptMouseLast;
enum { ddNone, ddInitial, ddDragging } inDragDrop;
bool dropWentOutside;