| java.lang.Object org.netbeans.modules.javascript.hints.spi.EditList
EditList | public class EditList (Code) | | A list of edits to be made to a document. This should probably be combined with the many
other similar abstractions in other classes; ModificationResult, Diff, etc.
author: Tor Norbye |
Constructor Summary | |
public | EditList(BaseDocument doc) |
EditList | public EditList(BaseDocument doc)(Code) | | |
apply | public void apply()(Code) | | |
apply | public Position apply(int positionOffset)(Code) | | Apply the given list of edits in the current document. If positionOffset is a position
within one of the regions, return a document Position that corresponds to it.
|
applyToDocument | public void applyToDocument(BaseDocument otherDoc)(Code) | | |
firstLine | public int firstLine(BaseDocument doc)(Code) | | |
format | public void format()(Code) | | |
getRange | public OffsetRange getRange()(Code) | | |
replace | public EditList replace(int offset, int removeLen, String insertText, boolean format, int offsetOrdinal)(Code) | | |
|
|