public class LiteralJoinLinesHandler extends java.lang.Object implements JoinLinesHandlerDelegate
CANNOT_JOIN, EP_NAME
Constructor and Description |
---|
LiteralJoinLinesHandler() |
Modifier and Type | Method and Description |
---|---|
int |
tryJoinLines(Document doc,
PsiFile psiFile,
int offsetNear,
int end)
Tries to join lines at the specified position of the specified file.
|
public int tryJoinLines(Document doc, PsiFile psiFile, int offsetNear, int end)
JoinLinesHandlerDelegate
tryJoinLines
in interface JoinLinesHandlerDelegate
doc
- where the lines arepsiFile
- where the lines areoffsetNear
- offset where the whitespace between lines startsend
- offset where the whitespace between lines endsJoinLinesHandlerDelegate.CANNOT_JOIN
if this handler was not able
to perform the operation.