diff options
author | nyamatongwe <devnull@localhost> | 2003-08-03 02:18:31 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-08-03 02:18:31 +0000 |
commit | 7519da5c70972113ba0a53b686db565a9f490dc0 (patch) | |
tree | f36b55816915d79e2a01f4a84bf2b51d83e275c4 /src | |
parent | 6d54db8918f4eaa15bdc83ae98a78abd04c65e9c (diff) | |
download | scintilla-mirror-7519da5c70972113ba0a53b686db565a9f490dc0.tar.gz |
Added refresh of pixmaps when wrapping.
Added some assertions.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 2581748ed..df260ed51 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2366,7 +2366,9 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { if (AbandonPaint()) { return; } + RefreshPixMaps(surfaceWindow); // In case pixmaps invalidated by scrollbar change } + PLATFORM_ASSERT(pixmapSelPattern->Initialised()); PRectangle rcRightMargin = rcClient; rcRightMargin.left = rcRightMargin.right - vs.rightMarginWidth; @@ -2395,6 +2397,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { Surface *surface = surfaceWindow; if (bufferedDraw) { surface = pixmapLine; + PLATFORM_ASSERT(pixmapLine->Initialised()); } surface->SetUnicodeMode(IsUnicodeMode()); surface->SetDBCSMode(CodePage()); |