diff options
| author | nyamatongwe <devnull@localhost> | 2011-06-07 11:45:17 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-06-07 11:45:17 +1000 |
| commit | d220ba3aa321d58d1ab1bb7b07305c825ba53e16 (patch) | |
| tree | 0067909b73c831379b5306a551860ae65421a84d | |
| parent | 1b3f7d04c670a821ee7ed2c60dea9e898742bf7c (diff) | |
| download | scintilla-mirror-d220ba3aa321d58d1ab1bb7b07305c825ba53e16.tar.gz | |
Fix bug with extra partition created when range filled.
| -rw-r--r-- | src/RunStyles.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx index c3414b4e8..93688b3f9 100644 --- a/src/RunStyles.cxx +++ b/src/RunStyles.cxx @@ -147,6 +147,8 @@ bool RunStyles::FillRange(int &position, int value, int &fillLength) { runEnd = RunFromPosition(end); RemoveRunIfSameAsPrevious(runEnd); RemoveRunIfSameAsPrevious(runStart); + runEnd = RunFromPosition(end); + RemoveRunIfEmpty(runEnd); return true; } else { return false; |
