Class UnoidlPreprocessorScanner
- java.lang.Object
-
- org.eclipse.jface.text.rules.RuleBasedScanner
-
- org.libreoffice.ide.eclipse.core.editors.syntax.UnoidlPreprocessorScanner
-
- All Implemented Interfaces:
org.eclipse.jface.text.rules.ICharacterScanner,org.eclipse.jface.text.rules.ITokenScanner
public class UnoidlPreprocessorScanner extends org.eclipse.jface.text.rules.RuleBasedScannerScanner splitting the preprocessor commands into items to be colorized. In order to fully understand the editor mechanisms, please report to Eclipse plugin developer's guide.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]PREPROC_COMMANDSThe preprocessor commands to match.
-
Constructor Summary
Constructors Constructor Description UnoidlPreprocessorScanner(ColorProvider pColorManager)Constructor initializing the rules for the preprocessor command analysis.
-
-
-
Constructor Detail
-
UnoidlPreprocessorScanner
public UnoidlPreprocessorScanner(ColorProvider pColorManager)
Constructor initializing the rules for the preprocessor command analysis.- Parameters:
pColorManager- the color manager from where to get the colors
-
-