boolean (@NotNull Project project, Editor editor, PsiFile file) { final int offset = editor.getCaretModel().getOffset(); if (isAvailable(getTag(file, offset))) { return true; } if (offset > 0 && isAvailable(getTag(file, offset - 1))) { myUseElementToTheLeft = true; return true; } return false; }