Skip to content

Commit

Permalink
Allow Xtext editor subclasses to control highlighting eclipse#3249
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Jobst <martin.jobst@posteo.de>
  • Loading branch information
mx990 committed Nov 22, 2024
1 parent 574f7c3 commit 595cd6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,12 @@ public void selectionChanged(final SelectionChangedEvent event) {
}
}

private void installHighlightingHelper() {
protected void installHighlightingHelper() {
if (highlightingHelper != null)
highlightingHelper.install(this, (XtextSourceViewer) getSourceViewer());
}

private void uninstallHighlightingHelper() {
protected void uninstallHighlightingHelper() {
if (highlightingHelper != null)
highlightingHelper.uninstall();
}
Expand Down

0 comments on commit 595cd6f

Please sign in to comment.