Commit fe49677
committed
indent instead of removing empty pasted lines
only indents, doesn't add lines for mutliple commands in one paste
only works correctly for pastes beginning on an empty line1 parent 81d6044 commit fe49677Copy full SHA for fe49677
9 files changed
+179-82Lines changed: 179 additions & 82 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- bpython
- curtsiesfrontend
- test
- fodder
Expand file treeCollapse file tree
Open diff view settings
Collapse file
bpython/curtsiesfrontend/interpreter.py
Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/interpreter.py+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
153 | 153 | |
154 | 154 | |
155 | 155 | |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
Collapse file
bpython/curtsiesfrontend/preprocess.py
Copy file name to clipboard+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
Collapse file
bpython/curtsiesfrontend/repl.py
Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/repl.py+6-62Lines changed: 6 additions & 62 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | 2 | |
4 | 3 | |
| ||
17 | 16 | |
18 | 17 | |
19 | 18 | |
20 | | - |
21 | 19 | |
22 | 20 | |
23 | 21 | |
| ||
45 | 43 | |
46 | 44 | |
47 | 45 | |
| 46 | + |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
| ||
457 | 457 | |
458 | 458 | |
459 | 459 | |
460 | | - |
| 460 | + |
461 | 461 | |
462 | 462 | |
463 | 463 | |
| ||
713 | 713 | |
714 | 714 | |
715 | 715 | |
716 | | - |
| 716 | + |
717 | 717 | |
718 | 718 | |
719 | 719 | |
| ||
828 | 828 | |
829 | 829 | |
830 | 830 | |
831 | | - |
| 831 | + |
| 832 | + |
832 | 833 | |
833 | 834 | |
834 | 835 | |
| ||
1429 | 1430 | |
1430 | 1431 | |
1431 | 1432 | |
1432 | | - |
1433 | | - |
1434 | | - |
1435 | | - |
1436 | | - |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | | - |
1446 | | - |
1447 | | - |
1448 | | - |
1449 | | - |
1450 | | - |
1451 | | - |
1452 | | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | | - |
1464 | | - |
1465 | | - |
1466 | | - |
1467 | | - |
1468 | | - |
1469 | | - |
1470 | | - |
1471 | | - |
1472 | | - |
1473 | | - |
1474 | | - |
1475 | | - |
1476 | | - |
1477 | | - |
1478 | | - |
1479 | | - |
1480 | | - |
1481 | | - |
1482 | | - |
1483 | | - |
1484 | | - |
1485 | | - |
1486 | | - |
1487 | | - |
1488 | | - |
1489 | 1433 | |
1490 | 1434 | |
1491 | 1435 | |
|
Collapse file
bpython/test/fodder/__init__.py
Copy file name to clipboardExpand all lines: bpython/test/fodder/__init__.pyWhitespace-only changes.
Collapse file
bpython/test/fodder/original.py
Copy file name to clipboard+22Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
Collapse file
bpython/test/fodder/processed.py
Copy file name to clipboard+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
Collapse file
bpython/test/test_curtsies_repl.py
Copy file name to clipboardExpand all lines: bpython/test/test_curtsies_repl.py+14-8Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
| 4 | + |
3 | 5 | |
| 6 | + |
4 | 7 | |
5 | 8 | |
6 | | - |
7 | | - |
8 | 9 | |
9 | 10 | |
10 | 11 | |
| ||
16 | 17 | |
17 | 18 | |
18 | 19 | |
| 20 | + |
19 | 21 | |
20 | 22 | |
21 | 23 | |
| ||
28 | 30 | |
29 | 31 | |
30 | 32 | |
| 33 | + |
31 | 34 | |
32 | 35 | |
33 | 36 | |
34 | 37 | |
35 | 38 | |
| 39 | + |
| 40 | + |
| 41 | + |
36 | 42 | |
37 | 43 | |
38 | | - |
| 44 | + |
39 | 45 | |
40 | | - |
| 46 | + |
41 | 47 | |
42 | | - |
| 48 | + |
43 | 49 | |
44 | | - |
| 50 | + |
45 | 51 | |
46 | | - |
| 52 | + |
47 | 53 | |
48 | | - |
| 54 | + |
49 | 55 | |
50 | 56 | |
51 | 57 | |
|
Collapse file
bpython/test/test_interpreter.py
Copy file name to clipboardExpand all lines: bpython/test/test_interpreter.py-12Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | 5 | |
7 | 6 | |
| ||
42 | 41 | |
43 | 42 | |
44 | 43 | |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
Collapse file
bpython/test/test_preprocess.py
Copy file name to clipboard+73Lines changed: 73 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
0 commit comments