Interface ITextMark

All Known Implementing Classes:
TextMark

public interface ITextMark
A positioned (offset, relative to the owner line) tag. A tag is identified by a name, and references an optional object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the mark name.
    Get the optional object associated with this mark.
    int
    Get the mark offset within its owner line.
  • Method Details

    • getOffset

      int getOffset()
      Get the mark offset within its owner line.
      Returns:
      the 0-based character offset
    • getName

      String getName()
      Get the mark name.
      Returns:
      the mark name
    • getObject

      Object getObject()
      Get the optional object associated with this mark.
      Returns:
      the attached object, or null if none