Start some context-edit menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-03-09 23:30:02 +00:00
parent 8151dd5852
commit 635b2c1cc3
2 changed files with 20 additions and 2 deletions

View File

@ -555,5 +555,24 @@ Menuset
Item "Next Cross-Reference|N" "reference-next"
Item "Go back to Reference|G" "bookmark-goto 0"
End
#
# Edit context menu
#
Menu "context-edit"
Item "Cut" "cut"
Item "Copy" "copy"
Item "Paste" "paste"
Submenu "Paste Recent|e" "edit_pasterecent"
Separator
Item "Jump to Saved Bookmark|B" "bookmark-goto 0"
Separator
Item "Move Paragraph Up|o" "paragraph-move-up"
Item "Move Paragraph Down|v" "paragraph-move-down"
Separator
Submenu "Text Style|S" "edit_textstyles"
Item "Paragraph Settings...|P" "layout-paragraph"
End
End

View File

@ -598,8 +598,7 @@ void InsetText::completionPosAndDim(Cursor const & cur, int & x, int & y,
docstring InsetText::contextMenu(BufferView const &, int, int) const
{
// FIXME: Do something more elaborate here.
return from_ascii("edit");
return from_ascii("context-edit");
}