Class SlaveDocumentEvent

  • Direct Known Subclasses:

    public class SlaveDocumentEvent
    extends DocumentEvent
    A slave document event represents a master document event as a slave-relative document event. It also carries the master document event.
    • Constructor Detail

      • SlaveDocumentEvent

        public SlaveDocumentEvent​(IDocument doc,
                                  int offset,
                                  int length,
                                  String text,
                                  DocumentEvent masterEvent)
        Creates a new slave document event.
        doc - the slave document
        offset - the offset in the slave document
        length - the length in the slave document
        text - the substitution text
        masterEvent - the master document event
    • Method Detail

      • getMasterEvent

        public DocumentEvent getMasterEvent()
        Returns this event's master event.
        this event's master event