diff options
| author | nyamatongwe <devnull@localhost> | 2013-03-16 10:54:28 +1100 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2013-03-16 10:54:28 +1100 | 
| commit | 9a54a91010faad3a593889088eb774b9cde8af5f (patch) | |
| tree | 3969257c12772f405bb7bf6ac0d586530f4dd439 /src | |
| parent | e8cf09269e66f5d9e4c81c031f206e6c834d4649 (diff) | |
| download | scintilla-mirror-9a54a91010faad3a593889088eb774b9cde8af5f.tar.gz | |
Bug: [#1453]. Make subsequent tab markers visible on GTK+.
Patch from Mark Yen at ActiveState with code simplified by Neil.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 8b9084fc5..e79d8383a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3047,12 +3047,6 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis  						textBack = vsDraw.whitespaceBackground;  					surface->FillRectangle(rcSegment, textBack);  				} -				if ((vsDraw.viewWhitespace != wsInvisible) || -				        (inIndentation && vsDraw.viewIndentationGuides != ivNone)) { -					if (vsDraw.whitespaceForegroundSet) -						textFore = vsDraw.whitespaceForeground; -					surface->PenColour(textFore); -				}  				if (inIndentation && vsDraw.viewIndentationGuides == ivReal) {  					for (int indentCount = (ll->positions[i] + epsilon) / indentWidth;  						indentCount <= (ll->positions[i + 1] - epsilon) / indentWidth; @@ -3066,6 +3060,9 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis  				}  				if (vsDraw.viewWhitespace != wsInvisible) {  					if (!inIndentation || vsDraw.viewWhitespace == wsVisibleAlways) { +						if (vsDraw.whitespaceForegroundSet) +							textFore = vsDraw.whitespaceForeground; +						surface->PenColour(textFore);  						PRectangle rcTab(rcSegment.left + 1, rcSegment.top + 4,  						        rcSegment.right - 1, rcSegment.bottom - vsDraw.maxDescent);  						DrawTabArrow(surface, rcTab, rcSegment.top + vsDraw.lineHeight / 2); | 
