public class LineCommentCopyPastePreProcessor extends java.lang.Object implements CopyPastePreProcessor
EP_NAME| Constructor and Description |
|---|
LineCommentCopyPastePreProcessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
preprocessOnCopy(PsiFile file,
int[] startOffsets,
int[] endOffsets,
java.lang.String text)
If not-null value is returned by this method, it will replace copied text.
|
java.lang.String |
preprocessOnPaste(Project project,
PsiFile file,
Editor editor,
java.lang.String text,
RawText rawText)
Replaces pasted text.
|
public java.lang.String preprocessOnCopy(PsiFile file, int[] startOffsets, int[] endOffsets, java.lang.String text)
CopyPastePreProcessorpreprocessOnCopy in interface CopyPastePreProcessorpublic java.lang.String preprocessOnPaste(Project project, PsiFile file, Editor editor, java.lang.String text, RawText rawText)
CopyPastePreProcessortext value should be returned if no processing is required.preprocessOnPaste in interface CopyPastePreProcessor