diff options
author | Neil <nyamatongwe@gmail.com> | 2015-07-06 09:02:49 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-07-06 09:02:49 +1000 |
commit | 66faf9ef8322a73d0312bbb5eda5aa11a245f07b (patch) | |
tree | ba050a21e16ed28968a27988e91163d076761480 | |
parent | 3f255cd047b8ba52d57ffd351ccc72e2369702e8 (diff) | |
download | scintilla-mirror-66faf9ef8322a73d0312bbb5eda5aa11a245f07b.tar.gz |
SCI_SETIDENTIFIERS resets styling ensuring any added identifier are highlighted.
-rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
-rw-r--r-- | src/ScintillaBase.cxx | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 1789ccc7e..749a2fe26 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -509,6 +509,9 @@ SciTE properties files now discard trailing white space on variable names. </li> <li> + Calling SCI_SETIDENTIFIERS resets styling to ensure any added identifier are highlighted. + </li> + <li> On Cocoa fix problems with positioning of autocompletion lists near screen edge or under dock. Cancel autocompletion when window moved. <a href="http://sourceforge.net/p/scintilla/bugs/1740/">Bug #1740</a>. diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 3d908d026..379fcc943 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -739,6 +739,7 @@ void LexState::FreeSubStyles() { void LexState::SetIdentifiers(int style, const char *identifiers) { if (instance && (interfaceVersion >= lvSubStyles)) { static_cast<ILexerWithSubStyles *>(instance)->SetIdentifiers(style, identifiers); + pdoc->ModifiedAt(0); } } |