aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-10-09 13:01:23 +0000
committernyamatongwe <unknown>2003-10-09 13:01:23 +0000
commite1a83135182899f64cc2f858c6f5bb291a0aca82 (patch)
tree08cdd63d832488ba59e9dbf7d9763ef800f880ab /src/Editor.h
parent6db67cd726c63ffb87ff22b99b5e7f2c5e32008d (diff)
downloadscintilla-mirror-e1a83135182899f64cc2f858c6f5bb291a0aca82.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);