diff options
author | Neil <nyamatongwe@gmail.com> | 2022-09-12 09:16:16 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-09-12 09:16:16 +1000 |
commit | 355f308c13dc46747c5f8c4a232f74ccdb44ef58 (patch) | |
tree | f3d71d31db2f639747ae94debbf149dddce6641d /src/Document.cxx | |
parent | e70788b928d786f155f91bbef183e462fc65535c (diff) | |
download | scintilla-mirror-355f308c13dc46747c5f8c4a232f74ccdb44ef58.tar.gz |
Remove NotifyLexerChanged notification from DocWatcher.
This is a private interface but could be used by independent platform layers
and was exposed by ScintillaDocument in the Qt implementation of ScintillaEdit.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 5e2613bdf..ada7f4436 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -58,7 +58,6 @@ LexInterface::~LexInterface() noexcept = default; void LexInterface::SetInstance(ILexer5 *instance_) { instance.reset(instance_); - pdoc->LexerChanged(); } void LexInterface::Colourise(Sci::Position start, Sci::Position end) { @@ -2432,13 +2431,6 @@ void Document::StyleToAdjustingLineDuration(Sci::Position pos) { durationStyleOneByte.AddSample(pos - stylingStart, epStyling.Duration()); } -void Document::LexerChanged() { - // Tell the watchers the lexer has changed. - for (const WatcherWithUserData &watcher : watchers) { - watcher.watcher->NotifyLexerChanged(this, watcher.userData); - } -} - LexInterface *Document::GetLexInterface() const noexcept { return pli.get(); } |