]> git.lyx.org Git - lyx.git/commit
refactoring visual cursor movement functions
authorDov Feldstern <dov@lyx.org>
Sun, 4 May 2008 20:17:59 +0000 (20:17 +0000)
committerDov Feldstern <dov@lyx.org>
Sun, 4 May 2008 20:17:59 +0000 (20:17 +0000)
commitffda0d89b444a6f7814df8db3f311e2a42edda9d
treec9a5622044d398919cd3a0a55cd05d918584d313
parent02eb8d0b78e285f16294f9cc823260b0adf12b72
refactoring visual cursor movement functions

Specifically, moved the functions which actually move left or right from Text
into Cursor, and changed the semantics so that they now return whether or not
the cursor has moved. The functions in Text now use the new functions in Cursor.

This change is being made in preparation of the Word-level visual movement.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24601 a592a061-630c-0410-9148-cb99ea01b6c8
src/Cursor.cpp
src/Cursor.h
src/Text2.cpp