]> git.lyx.org Git - features.git/commitdiff
Start some context-edit menu.
authorPavel Sanda <sanda@lyx.org>
Sun, 9 Mar 2008 23:30:02 +0000 (23:30 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 9 Mar 2008 23:30:02 +0000 (23:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23609 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ui/stdmenus.inc
src/insets/InsetText.cpp

index f7dc6d9075447edc5ee00ad5fff33d15d9a3f4aa..1f4390cf5a053ccb085e00b1c95371a2bb90f2c5 100644 (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
index 927787805440eff73e24ef0a0d5bb46abe91a4fa..65f62c675e8a1150a3f08d2be9c2eb58ec3734b0 100644 (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");
 }