Class LibFormulaValuesHighlight

  • All Implemented Interfaces:
    EventListener, org.eclipse.swt.custom.LineStyleListener, org.eclipse.swt.internal.SWTEventListener

    public class LibFormulaValuesHighlight
    extends Object
    implements org.eclipse.swt.custom.LineStyleListener
    This class provides color coding for recognized keywords, values, numbers, functions, strings, etc.
    Since:
    2008-dec-17
    Author:
    matt
    • Constructor Detail

      • LibFormulaValuesHighlight

        public LibFormulaValuesHighlight()
      • LibFormulaValuesHighlight

        public LibFormulaValuesHighlight​(String[] valueNames)
    • Method Detail

      • lineGetStyle

        public void lineGetStyle​(org.eclipse.swt.custom.LineStyleEvent event)
        Event.detail line start offset (input) Event.text line text (input) LineStyleEvent.styles Enumeration of StyleRanges, need to be in order. (output) LineStyleEvent.background line background color (output)
        Specified by:
        lineGetStyle in interface org.eclipse.swt.custom.LineStyleListener
      • parseBlockComments

        public void parseBlockComments​(String text)