public class DefaultEmacsProcessingHandler extends java.lang.Object implements EmacsProcessingHandler
EmacsProcessingHandler.Result
Constructor and Description |
---|
DefaultEmacsProcessingHandler() |
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. |
public EmacsProcessingHandler.Result changeIndent(Project project, Editor editor, PsiFile file)
EmacsProcessingHandler
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.changeIndent
in interface EmacsProcessingHandler
project
- current projecteditor
- current editorfile
- current file