diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-10-10 17:47:45 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-04-15 11:56:36 +0300 |
commit | 85ea187540b421d3d99c91019ed484c70d9d1d1a (patch) | |
tree | 63f1ba74c041d982edab02b2c1d14372cf9b8afb | |
parent | b489ea82dd3f9df10622fba047e4135ddb3028b8 (diff) | |
download | scintilla-mirror-85ea187540b421d3d99c91019ed484c70d9d1d1a.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 854dc1853..d547c468b 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -216,7 +216,7 @@ void Editor::Finalise() { } void Editor::SetRepresentations() { - reprs.SetDefaultRepresentations(pdoc->dbcsCodePage); +// reprs.SetDefaultRepresentations(pdoc->dbcsCodePage); } void Editor::DropGraphics() noexcept { |