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>2023-04-15 11:56:36 +0300
commit85ea187540b421d3d99c91019ed484c70d9d1d1a (patch)
tree63f1ba74c041d982edab02b2c1d14372cf9b8afb
parentb489ea82dd3f9df10622fba047e4135ddb3028b8 (diff)
downloadscintilla-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.cxx2
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 {