| java.lang.Object org.netbeans.modules.javascript.hints.spi.Edit
Edit | class Edit implements Comparable<Edit>(Code) | | A class which records a set of edits to a document, and then can apply these edits.
The edit regions are sorted in reverse order and applied from back to front such that
all the document offsets are correct at the time they are used.
author: Tor Norbye |
Constructor Summary | |
| Edit(int offset, int removeLen, String insertText, boolean format) | public | Edit(int offset, int removeLen, String insertText, boolean format, int offsetOrdinal) |
offsetOrdinal | int offsetOrdinal(Code) | | |
Edit | Edit(int offset, int removeLen, String insertText, boolean format)(Code) | | |
Edit | public Edit(int offset, int removeLen, String insertText, boolean format, int offsetOrdinal)(Code) | | The offsetOrdinal is used to choose among multiple edits at the same offset
|
getOffset | public int getOffset()(Code) | | |
getRemoveLen | public int getRemoveLen()(Code) | | |
|
|