1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Add support for dynamic help context provider (follow-up)

This commit is contained in:
Anton Leherbauer 2007-04-25 12:36:29 +00:00
parent a232fa8d00
commit 73fd7f02ab

View file

@ -2260,8 +2260,6 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IR
ISourceViewer sourceViewer =
new AdaptedSourceViewer(parent, ruler, getOverviewRuler(), isOverviewRulerVisible(), styles, store);
CUIHelp.setHelp(this, sourceViewer.getTextWidget(), ICHelpContextIds.CEDITOR_VIEW);
CSourceViewer cSourceViewer= null;
if (sourceViewer instanceof CSourceViewer) {
cSourceViewer= (CSourceViewer) sourceViewer;