aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-03-09 21:05:33 +1100
committerNeil <nyamatongwe@gmail.com>2018-03-09 21:05:33 +1100
commitaae86a999fe82ab85660991892253040126386b8 (patch)
tree1c82cf445ee7f3d0e9644a9a97bf978798479e84 /src/AutoComplete.h
parent2d698add257d0bbb38335659ed944e9cc41fe593 (diff)
downloadscintilla-mirror-aae86a999fe82ab85660991892253040126386b8.tar.gz
Use Position/Line/int more accurately in preparation for large documents.
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 2d957f6e5..ed14f1776 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -27,7 +27,7 @@ public:
bool chooseSingle;
std::unique_ptr<ListBox> lb;
Sci::Position posStart;
- int startLen;
+ Sci::Position startLen;
/// Should autocompletion be canceled if editor's currentPos <= startPos?
bool cancelAtStartPos;
bool autoHide;
@@ -49,7 +49,7 @@ public:
/// Display the auto completion list positioned to be near a character position
void Start(Window &parent, int ctrlID, Sci::Position position, Point location,
- int startLen_, int lineHeight, bool unicodeMode, int technology);
+ Sci::Position startLen_, int lineHeight, bool unicodeMode, int technology);
/// The stop chars are characters which, when typed, cause the auto completion list to disappear
void SetStopChars(const char *stopChars_);