public abstract class EditorMacro extends Macro
Macro.ExecutionCancelledException, Macro.Silent
EP_NAME, myCachedPreview
Constructor and Description |
---|
EditorMacro(java.lang.String name,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
expand(DataContext dataContext) |
protected abstract java.lang.String |
expand(Editor editor) |
protected static java.lang.String |
getColumnNumber(Editor editor,
LogicalPosition pos) |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
cachePreview, expand, getPath, getVirtualDirOrParent, preview
public EditorMacro(java.lang.String name, java.lang.String description)
public java.lang.String getDescription()
getDescription
in class Macro
public final java.lang.String expand(DataContext dataContext)
protected static java.lang.String getColumnNumber(Editor editor, LogicalPosition pos)
protected abstract java.lang.String expand(Editor editor)