aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-10-09 13:01:23 +0000
committernyamatongwe <devnull@localhost>2003-10-09 13:01:23 +0000
commit5614c30d0c726cec25ff9990efd01c47ae7ec097 (patch)
tree08cdd63d832488ba59e9dbf7d9763ef800f880ab /src/Editor.h
parentcecaeb6259400164373d67d8430699ba0bd4c5f4 (diff)
downloadscintilla-mirror-5614c30d0c726cec25ff9990efd01c47ae7ec097.tar.gz
Fixes to Autocomplete crash from Philippe.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h5
1 files changed, 3 insertions, 2 deletions
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);