Commit 300be2b
[ruby/reline] Undo and redo should restore indentation
(ruby/reline#793)
* Undo and redo should restore indentation
Undo and redo should not perform auto indentation. It should not change the indentation. Instead, it should restore previous indentation.
* Rename ivar undoing(undoing or redoing) to restoring
ruby/reline@6355a6e0b21 parent 776ec52 commit 300be2b
File tree
2 files changed
+29
-28
lines changed- lib/reline
- test/reline
2 files changed
+29
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
1074 | | - | |
| 1073 | + | |
| 1074 | + | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1188 | | |
1201 | 1189 | | |
1202 | 1190 | | |
| |||
2368 | 2356 | | |
2369 | 2357 | | |
2370 | 2358 | | |
2371 | | - | |
2372 | | - | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
2373 | 2362 | | |
2374 | | - | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
2375 | 2369 | | |
2376 | | - | |
2377 | | - | |
2378 | | - | |
| 2370 | + | |
| 2371 | + | |
2379 | 2372 | | |
2380 | 2373 | | |
2381 | 2374 | | |
2382 | | - | |
2383 | | - | |
2384 | | - | |
2385 | | - | |
2386 | | - | |
2387 | | - | |
2388 | | - | |
| 2375 | + | |
2389 | 2376 | | |
2390 | 2377 | | |
2391 | 2378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1679 | 1693 | | |
1680 | 1694 | | |
1681 | 1695 | | |
| |||
0 commit comments