From 595cd6f6e0b608a8733d3982ccb2d700fd2f3969 Mon Sep 17 00:00:00 2001 From: Martin Jobst Date: Fri, 22 Nov 2024 06:51:15 +0100 Subject: [PATCH] Allow Xtext editor subclasses to control highlighting #3249 Signed-off-by: Martin Jobst --- .../src/org/eclipse/xtext/ui/editor/XtextEditor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/XtextEditor.java b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/XtextEditor.java index c1fd4b599e8..9b74de5d234 100755 --- a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/XtextEditor.java +++ b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/XtextEditor.java @@ -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(); }