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>2024-12-17 13:24:16 +0300
commitd9aaf15edcc16971dcdaea687fb34c45d70c5cf6 (patch)
tree748e2eb7fb7022898b4659d54b6718ae092fc63c
parentaf00332de0588496bbf0279ed7ed6eb3f5be9401 (diff)
downloadscintilla-mirror-d9aaf15edcc16971dcdaea687fb34c45d70c5cf6.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 b60d96643..d9969ff01 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 {