Class ClangTextField

    • Method Detail

      • getToken

        public ClangToken getToken​(FieldLocation loc)
        Gets the C language token at the indicated location.
        loc - the field location
        the token
      • paint

        public void paint​(javax.swing.JComponent c,
                          java.awt.Graphics g,
                          PaintContext context,
                          FieldBackgroundColorManager selectionMap,
                          RowColLocation cursorLoc,
                          int rowHeight)
        Description copied from interface: Field
        Paints this field.
        Specified by:
        paint in interface Field
        paint in class VerticalLayoutTextField
        g - the graphics context.
        context - common paint parameters
        selectionMap - contains background color information for the field.
        cursorLoc - the row,column cursor location within the field or null if the field does not contain the cursor
        See Also:
        docking.widgets.fieldpanel.field.Field#paint(java.awt.Graphics, docking.widgets.fieldpanel.internal.PaintContext, boolean,
      • getLineNumberWidth

        public int getLineNumberWidth()
      • getLineNumber

        public int getLineNumber()