Tearing down the KateDocument/ View after each individual test is probably impractical, performance-wise, but let's at least do it before each group of tests. This actually makes the suite run faster, perhaps because we are implicitly clearing the Undo stack, now.
author Simon St James
()
committer Simon St James
()
commit f4750308dcea79e8f069868cae182afbd03c66a4
tree 8b26cebf829f7192ad566381ea56f37ec8c7a113
parent 8d26ec85e6fe3f4fdcc9cca787f1236624603077
Tearing down the KateDocument/ View after each individual test is probably impractical, performance-wise, but let's at least do it before each group of tests. This actually makes the suite run faster, perhaps because we are implicitly clearing the Undo stack, now.

Uncovered a minor issue with KateViEmulatedCommandBar, where the search-match highlight was set to an empty (not invalid) range: fix.
part/vimode/kateviemulatedcommandbar.cpp
tests/vimode_test.cpp
tests/vimode_test.h