mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Python console now handles multiline statement after entering empty an string (PY-2727).
This commit is contained in:
@@ -93,7 +93,7 @@ public class PydevConsoleExecuteActionHandler extends ConsoleExecuteActionHandle
|
||||
return;
|
||||
}
|
||||
|
||||
if (myCurrentIndentSize != -1) {
|
||||
if (myCurrentIndentSize != -1 && !StringUtil.isEmptyOrSpaces(line)) {
|
||||
final int indent = myIndentHelper.getIndent(line, false);
|
||||
if (indent >= myCurrentIndentSize) {
|
||||
indentEditor(currentEditor, indent);
|
||||
|
||||
Reference in New Issue
Block a user