From 2bee730e6e5b305e0dde8ac43520e730fba48331 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 6 Jul 2015 09:02:49 +1000 Subject: SCI_SETIDENTIFIERS resets styling ensuring any added identifier are highlighted. --- doc/ScintillaHistory.html | 3 +++ src/ScintillaBase.cxx | 1 + 2 files changed, 4 insertions(+) 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.
  • + Calling SCI_SETIDENTIFIERS resets styling to ensure any added identifier are highlighted. +
  • +
  • On Cocoa fix problems with positioning of autocompletion lists near screen edge or under dock. Cancel autocompletion when window moved. Bug #1740. 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(instance)->SetIdentifiers(style, identifiers); + pdoc->ModifiedAt(0); } } -- cgit v1.2.3