boolean (char c, PsiFile file, Editor editor) { if (isTripleQuote) { int offset = editor.getCaretModel().getCurrentCaret().getOffset(); editor.getDocument().deleteString(offset - 2, offset + 3); return true; } return false; }