diff options
| author | nyamatongwe <unknown> | 2011-06-07 11:45:17 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-06-07 11:45:17 +1000 | 
| commit | 5dc8096d70e74e05120806386b0a08387d200045 (patch) | |
| tree | 4506051635d19d57936731a8317e1d781c5764fc /src | |
| parent | 43c5ebb9044c5f279f732d11b922c369bd7d373b (diff) | |
| download | scintilla-mirror-5dc8096d70e74e05120806386b0a08387d200045.tar.gz | |
Fix bug with extra partition created when range filled.
Diffstat (limited to 'src')
| -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; | 
