Daniil Kalinin
2983980cbd
PY-17193, PY-10709 enable Use parentheses instead of backslashes for breaking lines option by default
...
Change tests according to the new default value
GitOrigin-RevId: 79a09911127532fadcc4a4d37a454887d46effa9
2023-07-07 13:26:55 +00:00
Ekaterina Tuzova
ef6d8be979
fixed test data
2015-02-26 15:45:35 +03:00
Dmitry Trofimov
f0ffa4f56c
Don't wrap before dot (PY-5464).
2014-02-04 14:26:29 +04:00
Dmitry Trofimov
e4f8eaf5ce
Don't wrap at the start of string literal (PY-9436).
2014-02-03 22:47:26 +04:00
Yaroslav Lepenkin
695bc50347
corrected test data after fixing IDEA-119589
2014-01-28 16:39:26 +04:00
Ekaterina Tuzova
b5165a7e49
fixed PY-10995 Wrapping on right margin deletes code with slashes at the end of miltiline statements.
...
If we didn't process auto-formatted events from document - document could be broken by replacement.
Do not insert replacement string to the broken textrange
2013-10-02 20:38:30 +04:00
Dmitry Jemerov
7e180ce6dd
binary expressions in statement parts use continuation indent instead of alignment (PY-8195 #3 )
2013-01-29 20:31:10 +01:00
Ekaterina Tuzova
8b7334d370
fixed test data for string literal wrap
2011-11-23 19:23:39 +01:00
Dmitry Jemerov
d8a21260ba
passing test for PY-4947
2011-11-15 19:00:53 +01:00
Ekaterina Tuzova
ef175a3436
separated token types for single/double and triple quoted strings
...
added lexer-level bytes/unicode detection
added lexer-level docstring detection
2011-07-10 17:59:57 +04:00
Dmitry Jemerov
c2babae6e2
test for wrapping inside argument list
2010-09-23 15:37:41 +04:00
Dmitry Jemerov
40d77973f1
test for wrapping in docstrings
2010-09-23 15:37:33 +04:00
Denis Zhdanov
2bceae0ee7
IDEA-59034 Editor: Modify default wrap strategy in order to prefer wrap on comma if possible
...
Wrap position's 'weight' processing is revised in order to consider positions offset difference
2010-09-23 15:37:04 +04:00
Dmitry Jemerov
ea0e086711
enter handler that inserts \ at line break position
2010-09-22 21:33:57 +04:00