diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2021-10-10 17:47:45 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-05-09 22:44:45 +0200 |
| commit | 5fc04741e79dfb90df2a173cf4fe35842eddde3e (patch) | |
| tree | 88770faf41906442563feab605267f991e416b38 /src/Editor.cxx | |
| parent | c81731d5c196ddae22e8a06aa32868a570fcbe30 (diff) | |
| download | scintilla-mirror-5fc04741e79dfb90df2a173cf4fe35842eddde3e.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!
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 1dfa8fd6b..0b821277d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -220,7 +220,7 @@ void Editor::Finalise() { } void Editor::SetRepresentations() { - reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); +// reprs->SetDefaultRepresentations(pdoc->dbcsCodePage); } void Editor::DropGraphics() noexcept { |
