Commit 8ad16da
committed
patch 8.1.0696: when test_edit fails 'insertmode' may not be reset
Problem: When test_edit fails 'insertmode' may not be reset and the next
test may get stuck. (James McCoy)
Solution: Always reset 'insertmode' after executing a test. Avoid that an
InsertCharPre autocommand or a 'complete' function can change the
state. (closes #3768)1 parent f42b45d commit 8ad16da
3 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4219 | 4219 | | |
4220 | 4220 | | |
4221 | 4221 | | |
| 4222 | + | |
4222 | 4223 | | |
4223 | 4224 | | |
4224 | 4225 | | |
| |||
4272 | 4273 | | |
4273 | 4274 | | |
4274 | 4275 | | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
4275 | 4279 | | |
4276 | 4280 | | |
4277 | 4281 | | |
| |||
5549 | 5553 | | |
5550 | 5554 | | |
5551 | 5555 | | |
| 5556 | + | |
5552 | 5557 | | |
5553 | 5558 | | |
5554 | 5559 | | |
| |||
5572 | 5577 | | |
5573 | 5578 | | |
5574 | 5579 | | |
| 5580 | + | |
| 5581 | + | |
5575 | 5582 | | |
5576 | 5583 | | |
5577 | 5584 | | |
| |||
10730 | 10737 | | |
10731 | 10738 | | |
10732 | 10739 | | |
| 10740 | + | |
10733 | 10741 | | |
10734 | 10742 | | |
10735 | 10743 | | |
| |||
10762 | 10770 | | |
10763 | 10771 | | |
10764 | 10772 | | |
| 10773 | + | |
| 10774 | + | |
| 10775 | + | |
10765 | 10776 | | |
10766 | 10777 | | |
10767 | 10778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
| 803 | + | |
802 | 804 | | |
803 | 805 | | |
804 | 806 | | |
| |||
0 commit comments