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>2021-10-10 17:47:45 +0300
commitfab670c471c7eea28d43ebaeed14b3c886e2c6e5 (patch)
tree8c64ae3f15bb9600bac5706f380b71d8f866fa9a
parent2bcf60285e1c196bf05cd47a8e04beb150b485ef (diff)
downloadscintilla-mirror-sciteco-rel-5-1-3.tar.gz
commented out Editor::SetRepresentations()sciteco-rel-5-1-3
* 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, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index dc3cf6caf..699b98f7a 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -213,6 +213,7 @@ void Editor::Finalise() {
}
void Editor::SetRepresentations() {
+#if 0
reprs.Clear();
// C0 control set
@@ -257,6 +258,7 @@ void Editor::SetRepresentations() {
}
}
}
+#endif
}
void Editor::DropGraphics() noexcept {