mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Add math context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23591 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7a924b3771
commit
5e79b2ca4f
@ -531,6 +531,14 @@ Menuset
|
||||
Item "About LyX|X" "dialog-show aboutlyx"
|
||||
End
|
||||
|
||||
#
|
||||
# InsetMath context menu
|
||||
#
|
||||
Menu "context-math"
|
||||
Item "Equation label|L" "label-insert"
|
||||
End
|
||||
|
||||
|
||||
#
|
||||
# InsetRef context menu
|
||||
#
|
||||
|
@ -1606,4 +1606,10 @@ void InsetMathHull::textString(odocstream & os) const
|
||||
}
|
||||
|
||||
|
||||
docstring InsetMathHull::contextMenu(BufferView const &, int, int) const
|
||||
{
|
||||
return from_ascii("context-math");
|
||||
}
|
||||
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -128,6 +128,9 @@ public:
|
||||
/// Force inset into LTR environment if surroundings are RTL?
|
||||
virtual bool forceLTR() const { return true; }
|
||||
|
||||
///
|
||||
virtual docstring contextMenu(BufferView const &, int, int) const;
|
||||
|
||||
protected:
|
||||
InsetMathHull(InsetMathHull const &);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user