diff options
author | nyamatongwe <devnull@localhost> | 2005-02-17 12:39:24 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-02-17 12:39:24 +0000 |
commit | 127e529a6b9eda9244a87d901ff140b179717bd0 (patch) | |
tree | e39ddb1c36217d5b6be476fd0964f42abf2fd130 /src/Document.h | |
parent | d3adb81fe67d6bbb8b922c72d9aa027f7e27f8a0 (diff) | |
download | scintilla-mirror-127e529a6b9eda9244a87d901ff140b179717bd0.tar.gz |
Fix for bug 1110111 by moving end of styling to first argument if it is
currently after the argument.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index ce27ffc47..f2fcc7c69 100644 --- a/src/Document.h +++ b/src/Document.h @@ -134,6 +134,7 @@ public: int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); // Gateways to modifying document + void ModifiedAt(int pos); bool DeleteChars(int pos, int len); bool InsertStyledString(int position, char *s, int insertLength); int Undo(); @@ -237,7 +238,6 @@ private: bool IsWordStartAt(int pos); bool IsWordEndAt(int pos); bool IsWordAt(int start, int end); - void ModifiedAt(int pos); void NotifyModifyAttempt(); void NotifySavePoint(bool atSavePoint); @@ -271,7 +271,7 @@ public: foldLevelNow(0), foldLevelPrev(0) {} - DocModification(int modificationType_, const Action &act, int linesAdded_=0) : + DocModification(int modificationType_, const Action &act, int linesAdded_=0) : modificationType(modificationType_), position(act.position / 2), length(act.lenData), |