* @since 2.0
*/
public boolean affectsBehavior(PropertyChangeEvent event) {
- return // fCodeScanner.affectsBehavior(event) ||
+ return fCodeScanner.affectsBehavior(event) ||
fMultilineCommentScanner.affectsBehavior(event) ||
fSinglelineCommentScanner.affectsBehavior(event) ||
- fStringScanner.affectsBehavior(event); // ||
-// fJavaDocScanner.affectsBehavior(event);
+ fStringScanner.affectsBehavior(event) ||
+ fJavaDocScanner.affectsBehavior(event);
}
/**
* @since 2.0
*/
protected void adaptToPreferenceChange(PropertyChangeEvent event) {
-// if (fCodeScanner.affectsBehavior(event))
-// fCodeScanner.adaptToPreferenceChange(event);
+ if (fCodeScanner.affectsBehavior(event))
+ fCodeScanner.adaptToPreferenceChange(event);
if (fMultilineCommentScanner.affectsBehavior(event))
fMultilineCommentScanner.adaptToPreferenceChange(event);
if (fSinglelineCommentScanner.affectsBehavior(event))
fSinglelineCommentScanner.adaptToPreferenceChange(event);
if (fStringScanner.affectsBehavior(event))
fStringScanner.adaptToPreferenceChange(event);
-// if (fJavaDocScanner.affectsBehavior(event))
-// fJavaDocScanner.adaptToPreferenceChange(event);
+ if (fJavaDocScanner.affectsBehavior(event))
+ fJavaDocScanner.adaptToPreferenceChange(event);
}
}
\ No newline at end of file