public interface JoinRawLinesHandlerDelegate extends JoinLinesHandlerDelegate
CANNOT_JOIN, EP_NAME
Modifier and Type | Method and Description |
---|---|
int |
tryJoinRawLines(Document document,
PsiFile file,
int start,
int end)
Tries to join lines at the specified position of the specified file.
|
tryJoinLines
int tryJoinRawLines(Document document, PsiFile file, int start, int end)
tryJoinLines()
, this method
is called on an unmodified document.
This joiner is allowed to keep number of lines the same, but it should not increase number of lines in the document.
It's possible that more than one line-break appears between start
and end
if several empty lines
were selected.
document
- where the lines arefile
- where the lines arestart
- offset right after the last non-space char of first line;end
- offset of first non-space char since the next line.