Optimize drawLineInfoArea()
commit8d087c3f70da8c4471d238ba16c7cb3dc4d8f60b
authorMax Tomilov <max.tomilov@gmail.com>
Wed, 14 Dec 2011 03:43:53 +0000 (14 12:43 +0900)
committerJohannes Sixt <j6t@kdbg.org>
Mon, 5 Mar 2012 21:01:16 +0000 (5 22:01 +0100)
treeb90e01a9cb5a61d5191b2b32fa8d97723397080e
parent859ca982e2fbe6dbc60c47d0b11796585444421e
Optimize drawLineInfoArea()

Stop processing text blocks as soon as the first block, that is located
lower then the region being updated, is found. Without this fix kdbg
responds very slowly when large source file (e.g. 10000 lines) is
opened in a source view window
kdbg/sourcewnd.cpp