aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-03-31 18:19:38 +1100
committerNeil <nyamatongwe@gmail.com>2017-03-31 18:19:38 +1100
commit8ff947c9db5ab9f1a093434180bc05bfecb62c4d (patch)
tree6d36be4b73c70c73f5345eb30a043c843a9e6839 /src/AutoComplete.h
parent63cf929d772aa829daa613114600ece511c9b2d7 (diff)
downloadscintilla-mirror-8ff947c9db5ab9f1a093434180bc05bfecb62c4d.tar.gz
Using Sci::Position and Sci::Line to mark variables that are document positions
and lines.
Diffstat (limited to 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index c35fa1a0e..205d4e095 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -28,7 +28,7 @@ public:
bool ignoreCase;
bool chooseSingle;
ListBox *lb;
- int posStart;
+ Sci::Position posStart;
int startLen;
/// Should autocompletion be canceled if editor's currentPos <= startPos?
bool cancelAtStartPos;
@@ -50,7 +50,7 @@ public:
bool Active() const;
/// Display the auto completion list positioned to be near a character position
- void Start(Window &parent, int ctrlID, int position, Point location,
+ void Start(Window &parent, int ctrlID, Sci::Position position, Point location,
int startLen_, int lineHeight, bool unicodeMode, int technology);
/// The stop chars are characters which, when typed, cause the auto completion list to disappear