diff options
author | nyamatongwe <unknown> | 2005-02-07 05:12:42 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-02-07 05:12:42 +0000 |
commit | f31a2e803d28c50dd3cbc2838c93d692d86ee5e0 (patch) | |
tree | 8ed070a1dfc81267c64d526360c184b11366b87f /src | |
parent | 0ab71ce05405ec5b0d725bc23d1e6c720fbec20f (diff) | |
download | scintilla-mirror-f31a2e803d28c50dd3cbc2838c93d692d86ee5e0.tar.gz |
Calling SCI_COLOURISE for SCLEX_CONTAINER now causes a
SCN_STYLENEEDED notification.
Diffstat (limited to 'src')
-rw-r--r-- | src/ScintillaBase.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 1d3867b7f..6377eac3e 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -616,7 +616,11 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara return lexLanguage; case SCI_COLOURISE: - Colourise(wParam, lParam); + if (lexLanguage == SCLEX_CONTAINER) { + NotifyStyleToNeeded((lParam == -1) ? pdoc->Length() : lParam); + } else { + Colourise(wParam, lParam); + } Redraw(); break; |