public interface EmacsProcessingHandler
Modifier and Type | Interface and Description |
---|---|
static class |
EmacsProcessingHandler.Result
Enumerates possible processing results.
|
Modifier and Type | Method and Description |
---|---|
EmacsProcessingHandler.Result |
changeIndent(Project project,
Editor editor,
PsiFile file)
Emacs handles
Tab pressing as
'auto indent line'
most of the time. |
EmacsProcessingHandler.Result changeIndent(Project project, Editor editor, PsiFile file)
Tab
pressing as
'auto indent line'
most of the time. However, there are extensions to this like python-mode
that changes indentation level of the current line (makes it belong to the other code block).
So, current method may be implemented by changing code block for the active line by changing its indentation.
EmacsProcessingHandler.Result.STOP
should be returned then.project
- current projecteditor
- current editorfile
- current file