diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-03-09 21:05:33 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-03-09 21:05:33 +1100 | 
| commit | f8884c2adbb81bb91b3ac0d4bcaa8b9c62069f14 (patch) | |
| tree | 0bcb5040b089eb140ce4fdef82411d68a3510a46 /src/AutoComplete.h | |
| parent | 73ca690be6390bdbd402d74bf85b71dea73761d0 (diff) | |
| download | scintilla-mirror-f8884c2adbb81bb91b3ac0d4bcaa8b9c62069f14.tar.gz | |
Backport: Use Position/Line/int more accurately in preparation for large documents.
Backport of changeset 6480:f2650eaa75e6.
Diffstat (limited to 'src/AutoComplete.h')
| -rw-r--r-- | src/AutoComplete.h | 4 | 
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_); | 
