]> git.lyx.org Git - lyx.git/commit
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=3580
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 24 Jun 2008 09:19:52 +0000 (09:19 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 24 Jun 2008 09:19:52 +0000 (09:19 +0000)
commitcfbe5dd9e1da55cba9499bee0220c2fdab65c3c0
tree4d7c13f2f914e219808efb92e8cff2904224496e
parentf6d02053987d6d9fcc7ab8999f83524a40960af5
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=3580

* Paragraph.cpp (isChar): new method; returns true when pointer is on
a character that is not a letter. Note that a footnote inset, for
example is neither a letter nor a character.

* Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): rewrite by
using 3 character categories: letters, characters and others.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25373 a592a061-630c-0410-9148-cb99ea01b6c8
src/Paragraph.cpp
src/Paragraph.h
src/Text.cpp