Interface SegmentListener

    • Method Detail

      • getSegments

        void getSegments​(SegmentEvent event)
        This method is called when text content is being modified.

        The following event fields are used:

        • event.lineText text content (input)
        • event.segments text offsets for segment characters (output)
        • event.segmentsChars characters that should be inserted (output, optional)
        Parameters:
        event - the given event
        See Also:
        SegmentEvent