public interface JoinLinesHandlerDelegate
| Modifier and Type | Field and Description |
|---|---|
static int |
CANNOT_JOIN
Return this from
tryJoinLines(com.intellij.openapi.editor.Document, com.intellij.psi.PsiFile, int, int) if it could not join the lines. |
static ExtensionPointName<JoinLinesHandlerDelegate> |
EP_NAME |
| Modifier and Type | Method and Description |
|---|---|
int |
tryJoinLines(Document document,
PsiFile file,
int start,
int end)
Tries to join lines at the specified position of the specified file.
|
static final ExtensionPointName<JoinLinesHandlerDelegate> EP_NAME
static final int CANNOT_JOIN
tryJoinLines(com.intellij.openapi.editor.Document, com.intellij.psi.PsiFile, int, int) if it could not join the lines.int tryJoinLines(Document document, PsiFile file, int start, int end)
document - where the lines arefile - where the lines arestart - offset where the whitespace between lines startsend - offset where the whitespace between lines endsCANNOT_JOIN if this handler was not able
to perform the operation.