Result (@NotNull PsiFile file, @NotNull Editor editor, @NotNull DataContext dataContext) { if (!(file instanceof PyFile)) { return Result.Continue; } if (myPostprocessShift > 0) { editor.getCaretModel().moveCaretRelatively(myPostprocessShift, 0, false, false, false); myPostprocessShift = 0; return Result.Continue; } addGoogleDocStringSectionIndent(file, editor, editor.getCaretModel().getOffset()); return super.postProcessEnter(file, editor, dataContext); }