diff options
author | nyamatongwe <devnull@localhost> | 2012-09-12 13:51:06 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-09-12 13:51:06 +1000 |
commit | acbc8a093413c624f76699b49abfbcb3ffc2f919 (patch) | |
tree | 53c0ee2e1a4909b3759d609a0d9b57e66b12563b /src/RunStyles.cxx | |
parent | 68f49bbbc90e33b5d4777d8e8de1d457a22fca7f (diff) | |
parent | 75bed4f0a73a0ef3a0d69026f21bc280b2232513 (diff) | |
download | scintilla-mirror-acbc8a093413c624f76699b49abfbcb3ffc2f919.tar.gz |
Merged with Cocoa fix.
Diffstat (limited to 'src/RunStyles.cxx')
-rw-r--r-- | src/RunStyles.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx index 643d2fb2d..9c4e90a66 100644 --- a/src/RunStyles.cxx +++ b/src/RunStyles.cxx @@ -205,6 +205,7 @@ void RunStyles::DeleteRange(int position, int deleteLength) { if (runStart == runEnd) { // Deleting from inside one run starts->InsertText(runStart, -deleteLength); + RemoveRunIfEmpty(runStart); } else { runStart = SplitRun(position); runEnd = SplitRun(end); |