Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-05-28 20:30:39 -0400
committerSam Davis2015-05-28 20:31:05 -0400
commitd94377deedc3698c8952ce87c8744783a5d84440 (patch)
treeaf21ad71ccd2ba9b2207c226baa1130179fac93c
parent228963f0a5b97abd2e1cd8646c7c6f1b3a499c12 (diff)
downloadorg.eclipse.mylyn.tasks-d94377deedc3698c8952ce87c8744783a5d84440.tar.gz
org.eclipse.mylyn.tasks-d94377deedc3698c8952ce87c8744783a5d84440.tar.xz
org.eclipse.mylyn.tasks-d94377deedc3698c8952ce87c8744783a5d84440.zip
423848: touch RichTextEditor to see if it fixes build
Change-Id: Id038db16791cb79852e16271c5d7288feec73a00 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423848
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java
index cd458564e..7ccdf3fde 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java
@@ -333,12 +333,16 @@ public class RichTextEditor {
private SourceViewer createDefaultEditor(Composite parent, int styles) {
SourceViewer defaultEditor = new SourceViewer(parent, null, styles | SWT.WRAP);
+ configureDefaultEditor(defaultEditor);
+
+ return defaultEditor;
+ }
+
+ private void configureDefaultEditor(SourceViewer defaultEditor) {
RepositoryTextViewerConfiguration viewerConfig = new RepositoryTextViewerConfiguration(repository, task,
isSpellCheckingEnabled() && !isReadOnly());
viewerConfig.setMode(getMode());
defaultEditor.configure(viewerConfig);
-
- return defaultEditor;
}
private BrowserPreviewViewer getBrowserViewer() {

Back to the top