public class SelectionQuotingTypedHandler extends TypedHandlerDelegate
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectionQuotingTypedHandler.DequotingFilter
Deprecated.
in order to disable replacement of surrounding quotes/braces in some cases override
SelectionQuotingTypedHandler.UnquotingFilter and register
the implementation as selectionDequotingFilter extension; if you need to check whether surrounding quotes/braces should be
replaced use shouldSkipReplacementOfQuotesOrBraces(com.intellij.psi.PsiFile, com.intellij.openapi.editor.Editor, java.lang.String, char) |
static class |
SelectionQuotingTypedHandler.UnquotingFilter |
TypedHandlerDelegate.Result| Constructor and Description |
|---|
SelectionQuotingTypedHandler() |
| Modifier and Type | Method and Description |
|---|---|
TypedHandlerDelegate.Result |
beforeSelectionRemoved(char c,
Project project,
Editor editor,
PsiFile file)
Called before selected text is deleted.
|
static boolean |
shouldSkipReplacementOfQuotesOrBraces(PsiFile psiFile,
Editor editor,
java.lang.String selectedText,
char c) |
beforeCharTyped, charTyped, checkAutoPopup, isImmediatePaintingEnabledpublic TypedHandlerDelegate.Result beforeSelectionRemoved(char c, Project project, Editor editor, PsiFile file)
TypedHandlerDelegatebeforeSelectionRemoved in class TypedHandlerDelegate