Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-06-03 14:46:03 -0400
committerSam Davis2015-06-03 14:46:03 -0400
commit4343077ef897a5781485c44251f5246dcf20c77d (patch)
treef93a94aef639b628327636c5b56d0de2addce55d
parentde72bf031ee27012e6ad212190f60dde21630091 (diff)
downloadorg.eclipse.mylyn.tasks-4343077ef897a5781485c44251f5246dcf20c77d.tar.gz
org.eclipse.mylyn.tasks-4343077ef897a5781485c44251f5246dcf20c77d.tar.xz
org.eclipse.mylyn.tasks-4343077ef897a5781485c44251f5246dcf20c77d.zip
Revert "423848: touch RichTextEditor to see if it fixes build"
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextEditor.java8
1 files changed, 2 insertions, 6 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 7ccdf3fde..cd458564e 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,16 +333,12 @@ 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