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
commite84de8f62b4ff4ef35dda9d162855d4b3e27a767 (patch)
tree9cf93151608d43aebd5799e4d3b96592619b233a /src/Editor.h
parent500d0c61325b097df66f6a8f1981e71bf30ff139 (diff)
downloadscintilla-mirror-e84de8f62b4ff4ef35dda9d162855d4b3e27a767.tar.gz
Backport: Use enum class for selectionUnit (previously selectionType) for more type safety.
Backport of changeset 8409:74950c91ef69.
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 4f629bad4..62aac3553 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;