diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-10-10 17:47:45 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-13 11:25:43 +0200 |
commit | 004341da5be15c009fd4d079dd1ca90516d0cd87 (patch) | |
tree | 6c92329603f8ee9d480cd9c2dd400f56197936d7 | |
parent | 5e7099a462492f7e0c8528a7f71049543d505ec8 (diff) | |
download | scintilla-mirror-004341da5be15c009fd4d079dd1ca90516d0cd87.tar.gz |
commented out Editor::SetRepresentations()
* This sets the default key representations on every SCI_SETDOCPOINTER
which is very inefficient considering the way that SciTECO uses the
Q-Register view.
Furthermore it meant, we had to reset the representations to their
SciTECO versions again after every SCI_SETDOCPOINTER.
* This patch only does not cause problems because we initialize
the representations anyway for every Scintilla view.
This patch is not meant to be upstreamed!
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 356f73baa..d559e0a6a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -217,7 +217,7 @@ void Editor::Finalise() { } void Editor::SetRepresentations() { - reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); +// reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); } void Editor::DropGraphics() noexcept { |