diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-07-03 09:48:40 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-07-03 09:48:40 +1000 |
commit | 230caa47b56acc1dc078403395a1e59b21a162e5 (patch) | |
tree | 3a34b87784decdb4aaf1144fc253c29008e9070c /src | |
parent | f18e3210bee6e4c3888ffd9f09f5242028317295 (diff) | |
download | scintilla-mirror-230caa47b56acc1dc078403395a1e59b21a162e5.tar.gz |
Ensure style data initialised before drawing margin.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 30f8120c0..f778ea933 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1806,6 +1806,8 @@ void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { if (vs.fixedColumnWidth == 0) return; + AllocateGraphics(); + RefreshStyleData(); RefreshPixMaps(surfWindow); PRectangle rcMargin = GetClientRectangle(); |