mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't wrap before dot (PY-5464).
This commit is contained in:
@@ -45,9 +45,6 @@ public class PyLineWrapPositionStrategy extends GenericLineWrapPositionStrategy
|
||||
addRule(new Rule('(', WrapCondition.AFTER));
|
||||
addRule(new Rule('[', WrapCondition.AFTER));
|
||||
addRule(new Rule('{', WrapCondition.AFTER));
|
||||
|
||||
// Symbols to wrap before
|
||||
addRule(new Rule('.', WrapCondition.BEFORE));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
call_command('.'
|
||||
call_command(' '
|
||||
'regressiontests_some_long_text_here_to_test_right_margin_some_long_text_here_to_test_right_margin_some_long_text_here_to_test_right_margin')
|
||||
@@ -1 +1 @@
|
||||
call_command('.regressiontests<caret>')
|
||||
call_command(' regressiontests<caret>')
|
||||
@@ -1,4 +1,4 @@
|
||||
def do_stuff():
|
||||
another_long_variable = a_really_long_function_name_with_parameters(12,
|
||||
this_is_the_first_param=23,
|
||||
this_is_the_second=45).do_more_stuff_to_the_result()
|
||||
this_is_the_second=45).do_more_stuff_to_the_result()
|
||||
|
||||
Reference in New Issue
Block a user