Class SlaveDocumentEvent

java.lang.Object
org.eclipse.jface.text.DocumentEvent
org.eclipse.jface.text.SlaveDocumentEvent
Direct Known Subclasses:
ProjectionDocumentEvent

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 Details

    • SlaveDocumentEvent

      public SlaveDocumentEvent(IDocument doc, int offset, int length, String text, DocumentEvent masterEvent)
      Creates a new slave document event.
      Parameters:
      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 Details

    • getMasterEvent

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