Skip to content

Commit

Permalink
commented out Editor::SetRepresentations()
Browse files Browse the repository at this point in the history
* 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!
  • Loading branch information
rhaberkorn committed Oct 10, 2021
1 parent 2bcf602 commit fab670c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Editor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ void Editor::Finalise() {
}

void Editor::SetRepresentations() {
#if 0
reprs.Clear();

// C0 control set
Expand Down Expand Up @@ -257,6 +258,7 @@ void Editor::SetRepresentations() {
}
}
}
#endif
}

void Editor::DropGraphics() noexcept {
Expand Down

0 comments on commit fab670c

Please sign in to comment.