aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-04-04 03:10:20 +0000
committernyamatongwe <unknown>2002-04-04 03:10:20 +0000
commita3e1c4d6f23dabf63c029a2ea31869e17be215fb (patch)
tree8678e789f1288dfed57efe6582924a9ddfb2a1d4 /src/Document.h
parent00bf13a155d265805ccbcb805502ff6408c7f538 (diff)
downloadscintilla-mirror-a3e1c4d6f23dabf63c029a2ea31869e17be215fb.tar.gz
Improved caret movement in read-only mode by handling more cases where text is inserted and be removing handling of cases where text is deleted as these are handled automatically in the modification listener.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h
index 61fe33fce..9743583fe 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -163,7 +163,7 @@ public:
bool InsertString(int position, const char *s, int insertLength);
void ChangeChar(int pos, char ch);
void DelChar(int pos);
- int DelCharBack(int pos);
+ void DelCharBack(int pos);
char CharAt(int position) { return cb.CharAt(position); }
void GetCharRange(char *buffer, int position, int lengthRetrieve) {
@@ -233,7 +233,6 @@ private:
void NotifySavePoint(bool atSavePoint);
void NotifyModified(DocModification mh);
- int DelCharBackMove(int pos, int len);
int IndentSize() { return indentInChars ? indentInChars : tabInChars; }
};