From 004341da5be15c009fd4d079dd1ca90516d0cd87 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 10 Oct 2021 17:47:45 +0300 Subject: 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! --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 356f73baa..d559e0a6a 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 { -- cgit v1.2.3