}
-/* -------> Returns the current font and depth by printing a message. In the
- * future perhaps we could try to implement a callback to the button-bar.
- * That is, `light' the bold button when the font is currently bold, etc.
- */
+// Returns the current font and depth as a message.
string CurrentState(BufferView * bv)
{
string state;
extern void Underline(BufferView *);
///
extern void FontSize(BufferView *, string const &);
-///
+/// Returns the current font and depth as a message.
extern string CurrentState(BufferView *);
///
extern void ToggleAndShow(BufferView *, LyXFont const &);
// Set the tooltip
#if FL_REVISION >= 89
- string help = lyxaction.helpText(action);
+ string help = lyxaction.helpText(item->action);
fl_set_object_helper(obj, help.c_str());
#else
fl_set_object_posthandler(obj, C_Toolbar_BubblePost);