public class FillParagraphAction extends BaseCodeInsightAction implements DumbAware
Action to re-flow paragraph to fit right margin. Glues paragraph and then splits into lines with appropriate length
The action came from Emacs users // PY-4775
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
FillParagraphAction() |
Modifier and Type | Method and Description |
---|---|
protected CodeInsightActionHandler |
getHandler() |
protected boolean |
isValidForFile(Project project,
Editor editor,
PsiFile file) |
getBaseEditor, getEditor, getInjectedEditor, getInjectedEditor, isValidForLookup, update
actionPerformed, actionPerformedImpl, beforeActionPerformedUpdate, getCommandName, update, update
addTextOverride, applyTextOverride, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
protected CodeInsightActionHandler getHandler()
getHandler
in class CodeInsightAction
protected boolean isValidForFile(Project project, Editor editor, PsiFile file)
isValidForFile
in class CodeInsightAction