diff options
| author | nyamatongwe <devnull@localhost> | 2006-01-06 11:15:23 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2006-01-06 11:15:23 +0000 | 
| commit | afdbc949e18d0501429bea00fc4dd62d39f0403a (patch) | |
| tree | 0ea69a68825ea65f0fdb0f3cff617b15f2ceb443 /src/Editor.cxx | |
| parent | 1ff10b4439c263a55c667236ddaceb0bdfa76b4d (diff) | |
| download | scintilla-mirror-afdbc949e18d0501429bea00fc4dd62d39f0403a.tar.gz | |
Refresh some style data after calling UpdateUI notification in case
container has modified a style setting.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 3 | 
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 | 
