aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-10 17:47:45 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-08-22 14:40:19 +0300
commite04f4e9a885a832ff13906cb1fd1e9b8abfd1922 (patch)
treef574bca2978bf84f86e8313a608654e8ce1abf25
parentcde12528a7e587833926354b88ad1974aedaf103 (diff)
downloadscintilla-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.cxx2
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 {