From e1a83135182899f64cc2f858c6f5bb291a0aca82 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 9 Oct 2003 13:01:23 +0000 Subject: Fixes to Autocomplete crash from Philippe. --- src/Editor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index e4befe197..3a8d92a60 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -261,7 +261,8 @@ protected: // ScintillaBase subclass needs access to much of Editor enum selTypes { noSel, selStream, selRectangle, selLines }; selTypes selType; bool moveExtendsSelection; - int xEndSelect; ///< x position of end of rectangular selection by mouse. + int xStartSelect; ///< x position of start of rectangular selection + int xEndSelect; ///< x position of end of rectangular selection bool primarySelection; int caretXPolicy; @@ -333,7 +334,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void SetSelection(int currentPos_); void SetEmptySelection(int currentPos_); bool RangeContainsProtected(int start, int end) const; - bool SelectionContainsProtected() const; + bool SelectionContainsProtected(); int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); int MovePositionTo(int newPos, selTypes sel=noSel, bool ensureVisible=true); int MovePositionSoVisible(int pos, int moveDir); -- cgit v1.2.3