use brute force for to determine "best" position when doing cursor up/down (will be sped up a bit again soonish...) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3153 a592a061-630c-0410-9148-cb99ea01b6c8