diff options
author | amywu | 2007-12-07 06:27:58 +0000 |
---|---|---|
committer | amywu | 2007-12-07 06:27:58 +0000 |
commit | 8ada8cb911aebd76d9a95017a0eb4e51432380c6 (patch) | |
tree | ba0778511eb28a7ea3cf2266e2b3596a4bd19a0a /bundles | |
parent | dbdc23b30739703301f67354916aea4c2c8ca71b (diff) | |
download | webtools.sourceediting-8ada8cb911aebd76d9a95017a0eb4e51432380c6.tar.gz webtools.sourceediting-8ada8cb911aebd76d9a95017a0eb4e51432380c6.tar.xz webtools.sourceediting-8ada8cb911aebd76d9a95017a0eb4e51432380c6.zip |
[212211] source annotations are not painting in source editors (again)
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredSourceViewerDecorationSupport.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredSourceViewerDecorationSupport.java b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredSourceViewerDecorationSupport.java index 8dbf1c83cc..72486bdc4a 100644 --- a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredSourceViewerDecorationSupport.java +++ b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredSourceViewerDecorationSupport.java @@ -37,6 +37,10 @@ class StructuredSourceViewerDecorationSupport extends SourceViewerDecorationSupp painter.addTextStyleStrategy(AnnotationPreference.STYLE_SQUIGGLES, null); // use old one painter.addDrawingStrategy(AnnotationPreference.STYLE_SQUIGGLES, new AnnotationPainter.SquigglesStrategy()); + // dont use new problem underline painter + painter.addTextStyleStrategy(AnnotationPreference.STYLE_PROBLEM_UNDERLINE, null); + // use old one + painter.addDrawingStrategy(AnnotationPreference.STYLE_PROBLEM_UNDERLINE, new AnnotationPainter.SquigglesStrategy()); return painter; } } |