diff options
author | nyamatongwe <devnull@localhost> | 2011-11-03 09:12:00 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-11-03 09:12:00 +1100 |
commit | e8bba407198738106cfe62ff8782e895a2993b97 (patch) | |
tree | 04d659b605498d39c3e08e48e097f50fc0ee9237 | |
parent | c4e2478a006b8bfc31a840bef88f9dee4c71d6d7 (diff) | |
download | scintilla-mirror-e8bba407198738106cfe62ff8782e895a2993b97.tar.gz |
Ensure graphics allocated before painting.
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index d52d2498f..4c647b61e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3477,6 +3477,7 @@ void Editor::DrawCarets(Surface *surface, ViewStyle &vsDraw, int lineDoc, int xS void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { //Platform::DebugPrintf("Paint:%1d (%3d,%3d) ... (%3d,%3d)\n", // paintingAllText, rcArea.left, rcArea.top, rcArea.right, rcArea.bottom); + AllocateGraphics(); StyleToPositionInView(PositionAfterArea(rcArea)); |