Class FoldingAwareIconRowHeader

    • Field Detail

      • textArea

        protected RTextArea textArea
        The text area whose lines we are marking with icons.
      • currentLineCount

        protected int currentLineCount
        The number of lines in the text area.
    • Constructor Detail

      • FoldingAwareIconRowHeader

        public FoldingAwareIconRowHeader​(RSyntaxTextArea textArea)
        Constructor.
        Parameters:
        textArea - The parent text area.
    • Method Detail

      • getChildViewBounds

        protected static final Rectangle getChildViewBounds​(View parent,
                                                            int line,
                                                            Rectangle editorRect)
        Returns the bounds of a child view as a rectangle, since Views tend to use Shape.
        Parameters:
        parent - The parent view of the child whose bounds we're getting.
        line - The index of the child view.
        editorRect - Returned from the text area's getVisibleEditorRect method.
        Returns:
        The child view's bounds.
      • getGutter

        protected Gutter getGutter()
        Returns the parent Gutter component.
        Returns:
        The parent Gutter.