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 | f09460007f0851013a8b35fba8f3283ff1c6e977 (patch) | |
tree | 0b23ba630ec662839fc086712c8dc391475f3934 | |
parent | db454bdf6d717c9775079b292ee1a70b65cb449c (diff) | |
download | scintilla-mirror-f09460007f0851013a8b35fba8f3283ff1c6e977.tar.gz |
Ensure style data initialised before drawing margin.
-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(); |