fix: never try to call line() for a non-existing document line, which would assert
authorMilian Wolff <mail@milianw.de>
Sun, 31 Oct 2010 12:42:11 +0000 (13:42 +0100)
committerMilian Wolff <mail@milianw.de>
Sun, 31 Oct 2010 12:42:16 +0000 (13:42 +0100)
commite6a5aafdcc3fcec8b609eb3d7ac4674610f32842
tree244d9e20832975c45e03eebb1ddbee279b7f83f7
parentf77c385fc987c58cf49b720c3338b0e078b944b3
fix: never try to call line() for a non-existing document line, which would assert

BUG: 249503

add test, please review and make sure this is the correct fix
part/render/katelayoutcache.cpp
part/tests/CMakeLists.txt
part/tests/kateview_test.cpp [new file with mode: 0644]
part/tests/kateview_test.h [new file with mode: 0644]