aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-01-06 11:15:23 +0000
committernyamatongwe <devnull@localhost>2006-01-06 11:15:23 +0000
commitafdbc949e18d0501429bea00fc4dd62d39f0403a (patch)
tree0ea69a68825ea65f0fdb0f3cff617b15f2ceb443 /src
parent1ff10b4439c263a55c667236ddaceb0bdfa76b4d (diff)
downloadscintilla-mirror-afdbc949e18d0501429bea00fc4dd62d39f0403a.tar.gz
Refresh some style data after calling UpdateUI notification in case
container has modified a style setting.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index dfeb1a62d..d1abba7c7 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2724,7 +2724,6 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
// paintingAllText, rcArea.left, rcArea.top, rcArea.right, rcArea.bottom);
RefreshStyleData();
-
RefreshPixMaps(surfaceWindow);
PRectangle rcClient = GetClientRectangle();
@@ -2755,6 +2754,8 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
if (needUpdateUI) {
NotifyUpdateUI();
needUpdateUI = false;
+ RefreshStyleData();
+ RefreshPixMaps(surfaceWindow);
}
// Call priority lines wrap on a window of lines which are likely