org.eclipse.jface.text
public interface IRepairableDocumentExtension
IRepairableDocument.
Adds the ability to query whether the repairable document would have to be repaired after replacing some text.
IRepairableDocument| Modifier and Type | Method and Description |
|---|---|
boolean |
isLineInformationRepairNeeded(int offset,
int length,
String text)
Tells whether the line information of the document implementing this interface needs to be
repaired after replacing the given text.
|
boolean isLineInformationRepairNeeded(int offset,
int length,
String text)
throws BadLocationException
offset - the document offsetlength - the length of the specified rangetext - the substitution text to checktrue if the line information must be repaired after replacingBadLocationException - if the offset is invalid in this documentIRepairableDocument.repairLineInformation()Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.