diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-10-10 17:47:45 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-22 14:40:19 +0300 |
commit | e04f4e9a885a832ff13906cb1fd1e9b8abfd1922 (patch) | |
tree | f574bca2978bf84f86e8313a608654e8ce1abf25 | |
parent | cde12528a7e587833926354b88ad1974aedaf103 (diff) | |
download | scintilla-mirror-e04f4e9a885a832ff13906cb1fd1e9b8abfd1922.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 f5b6b2c03..e0b05ab07 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -219,7 +219,7 @@ void Editor::Finalise() { } void Editor::SetRepresentations() { - reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); +// reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); } void Editor::DropGraphics() noexcept { |