public interface ILineTrackerExtension
ILineTracker
. Adds the
concept of rewrite sessions. A rewrite session is a sequence of replace
operations that form a semantic unit.Modifier and Type | Method and Description |
---|---|
void |
startRewriteSession(DocumentRewriteSession session)
Tells the line tracker that a rewrite session started.
|
void |
stopRewriteSession(DocumentRewriteSession session,
String text)
Tells the line tracker that the rewrite session has finished.
|
void startRewriteSession(DocumentRewriteSession session) throws IllegalStateException
session
- the rewrite sessionIllegalStateException
- in case there is already an active rewrite
sessionvoid stopRewriteSession(DocumentRewriteSession session, String text)
startRewriteSession
has been called
before. The text resulting from the rewrite session is passed to the line
tracker.session
- the rewrite sessiontext
- the text with which to re-initialize the line tracker
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.