From 8ff947c9db5ab9f1a093434180bc05bfecb62c4d Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 31 Mar 2017 18:19:38 +1100 Subject: Using Sci::Position and Sci::Line to mark variables that are document positions and lines. --- src/AutoComplete.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AutoComplete.h') 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 -- cgit v1.2.3