Pavel Sanda wrote:
[EMAIL PROTECTED] wrote:
Author: sanda
Date: Tue Jun 10 23:37:40 2008
New Revision: 25224
+/*!
+ * \var lyx::FuncCode lyx::LFUN_FONT_FREE_APPLY
+ * \li Action: Toggle user-defined text style.
+ * \li Syntax: font-free-apply
+ * \li Origin: leeming, 12 Mar 2003
+ * \endvar
+ */
                { LFUN_FONT_FREE_APPLY, "font-free-apply", Noop, Layout },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_FONT_FREE_UPDATE
+ * \li Action: Update and apply user-defined text style.
+ * \li Syntax: font-free-update <FONT_INFO>
+ * \li Params: <FONT_INFO>: specifies font atributes, e.g. family, series, 
shape,
+                            size, emph, noun, underbar, number, color, 
language,
+                           toggleall.\n
+                           Use lyx -dbg action for exact syntax of text-style
+                           dialog parameters.
+ * \li Origin: leeming, 12 Mar 2003
+ * \endvar
+ */
                { LFUN_FONT_FREE_UPDATE, "font-free-update", Noop, Layout },

has anybody clue why the "free" keyword is used in lfun naming - i found it 
puzzling.

Beware that this is maybe not what you think. These lfuns update/apply the 'free' floating font object that is used to repeatedly apply the same font (textstyle) to multiple cursor location.

what about to rename them eg. "user-font-apply/update" or 
"textstyle-apply/update"?
textstyle instead of font might be a good idea.

Abdel.

Reply via email to