aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-11-19 13:48:37 +1100
committerNeil <nyamatongwe@gmail.com>2014-11-19 13:48:37 +1100
commitc1ce889ce992cf7006120c01c336fc51b44de9d1 (patch)
tree2995c377e0b35b1d389bd3c8875824dd65104650 /src/LineMarker.cxx
parent5007acf288a92f58c3d4a039a69b9baf50bed08b (diff)
downloadscintilla-mirror-c1ce889ce992cf7006120c01c336fc51b44de9d1.tar.gz
Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.
From Mitchell Foral.
Diffstat (limited to 'src/LineMarker.cxx')
-rw-r--r--src/LineMarker.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index eb36f1bbc..98e75ca52 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -72,6 +72,11 @@ static void DrawMinus(Surface *surface, int centreX, int centreY, int armSize, C
}
void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, typeOfFold tFold, int marginStyle) const {
+ if (customDraw != NULL) {
+ customDraw(surface, rcWhole, fontForCharacter, tFold, marginStyle, this);
+ return;
+ }
+
ColourDesired colourHead = back;
ColourDesired colourBody = back;
ColourDesired colourTail = back;