Package org.eclipse.jface.text
Interface IDocumentAdapterExtension
-
public interface IDocumentAdapterExtension
Extension interface forIDocumentAdapter
.Introduces the concepts of batching a series of document changes into a single styled text content change notification. Batching start when a client calls
stopForwardingDocumentChanges
. After that call this document adapter does not send out styled text content change notifications untilresumeForwardingDocumentChanges
is called. OnresumeForwardingDocumentChanges
, it sends out one styled text content change notification that covers all changes that have been applied to the document since callingstopForwardingDocumentChanges
.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resumeForwardingDocumentChanges()
Resumes forwarding document changes to the styled text.void
stopForwardingDocumentChanges()
Stops forwarding document changes to the styled text.
-
-
-
Method Detail
-
stopForwardingDocumentChanges
void stopForwardingDocumentChanges()
Stops forwarding document changes to the styled text.
-
resumeForwardingDocumentChanges
void resumeForwardingDocumentChanges()
Resumes forwarding document changes to the styled text. Also forces the styled text to catch up with all the changes that have been applied sincestopForwardingDocumentChanges
has been called.
-
-