[EMAIL PROTECTED] wrote:
Author: lasgouttes
Date: Tue Jul 1 16:42:32 2008
New Revision: 25413
Modified: lyx-devel/trunk/src/LyXRC.cpp
+ }
+ if (tag != RC_LAST)
+ break;
+ case RC_MAC_LIKE_WORD_MOVEMENT:
+ if (ignore_system_lyxrc ||
+ mac_like_word_movement
+ != system_lyxrc.mac_like_word_movement) {
+ os << "\\mac_like_word_movement "
+ << convert<string>(mac_like_word_movement) << '\n';
Current most used style is:
+ if (ignore_system_lyxrc
+ || mac_like_word_movement !=
system_lyxrc.mac_like_word_movement) {
+ os << "\\mac_like_word_movement "
+ << convert<string>(mac_like_word_movement) << '\n';
and it fits into the 80-chars limit :-)
Modified: lyx-devel/trunk/src/Text.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/Text.cpp?rev=25413
==============================================================================
+ if (pos == lastpos)
+ if (pit != cur.lastpit())
+ return setCursor(cur, pit + 1, 0);
+ else
+ return false;
This is dangerous code without the accolades.
Abdel.