diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-31 18:57:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-31 18:57:36 +0100 |
commit | e84c773d42e8b6ef0f8ae9b6c7312e0fd47909af (patch) | |
tree | 451c2f6769fb90c496219d08413b146d154938cb /src/testdir/dumps | |
parent | 68ebcee0237d927dd5386073499162389d4d708a (diff) |
patch 9.0.1595: line pointer becomes invalid when using spell checkingv9.0.1595
Problem: Line pointer becomes invalid when using spell checking.
Solution: Call ml_get() at the right places. (Luuk van Baal, closes #12456)
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_spell_10.dump | 8 | ||||
-rw-r--r-- | src/testdir/dumps/Test_spell_9.dump | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_spell_10.dump b/src/testdir/dumps/Test_spell_10.dump new file mode 100644 index 0000000000..ce1884723d --- /dev/null +++ b/src/testdir/dumps/Test_spell_10.dump @@ -0,0 +1,8 @@ +| +0&#ffffff0@2|T|h|i|s| |l|i|n|e| |h|a|s| |a| |s+0&#ffd7d7255|e|p|l@1| +0&#ffffff0|e|r@1|o|r|.| |a+0fd7ff255|n|d| +0&#ffffff0|m|i|s@1|i|n|g| |c|a|p|s| |a|n|d| |t|r|a|i|l|i|n|g| |s|p|a|c|e|s|.| @5 +|a+0fd7ff255|n|o|t|h|e|r| +0&#ffffff0|m|i|s@1|i|n|g| |c|a|p| |h|e|r|e| @50 +|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |N|o|t|-@57 +> +0#0000000#ffffff0@74 +@75 +|a+0fd7ff255|n|d| +0&#ffffff0|h|e|r|e|.| @65 +|~+0#4040ff13&| @73 +| +0#0000000&@56|5|,|0|-|1| @8|A|l@1| diff --git a/src/testdir/dumps/Test_spell_9.dump b/src/testdir/dumps/Test_spell_9.dump new file mode 100644 index 0000000000..9d283ce318 --- /dev/null +++ b/src/testdir/dumps/Test_spell_9.dump @@ -0,0 +1,8 @@ +| +0&#ffffff0@2|T|h|i|s| |l|i|n|e| |h|a|s| |a| |s+0&#ffd7d7255|e|p|l@1| +0&#ffffff0|e|r@1|o|r|.| |a+0fd7ff255|n|d| +0&#ffffff0|m|i|s@1|i|n|g| |c|a|p|s| |a|n|d| |t|r|a|i|l|i|n|g| |s|p|a|c|e|s|.| @5 +|a+0fd7ff255|n|o|t|h|e|r| +0&#ffffff0|m|i|s@1|i|n|g| |c|a|p| |h|e|r|e| @50 +|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |N|o|t|-@57 +> +0#0000000#ffffff0@74 +|a+0fd7ff255|n|d| +0&#ffffff0|h|e|r|e|.| @65 +|~+0#4040ff13&| @73 +|~| @73 +| +0#0000000&@56|5|,|0|-|1| @8|A|l@1| |