diff libgui/src/m-editor/file-editor.cc @ 16737:e81084a745a9

GUI: change (un)comment handling of selection, allow (un)comment of current line * file_editor_tab.cc (do_comment_selected_text): (un)comment selected text and set selection to entrie block; allow (un)comment of the current line only wihtout any selection * file-editor.cc (construct): update toolbar actions text
author Thorsten Liebig <thorsten.liebig@gmx.de>
date Sat, 08 Jun 2013 21:57:07 +0200
parents 01d523d5f796
children 6960ac6ed127
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc
+++ b/libgui/src/m-editor/file-editor.cc
@@ -802,10 +802,10 @@
                    tr ("&Remove All breakpoints"), _tool_bar);
 
   QAction *comment_selection_action
-    = new QAction (tr ("&Comment Selected Text"), _tool_bar);
+    = new QAction (tr ("&Comment"), _tool_bar);
 
   QAction *uncomment_selection_action
-    = new QAction (tr ("&Uncomment Selected Text"), _tool_bar);
+    = new QAction (tr ("&Uncomment"), _tool_bar);
 
   QAction *find_action = new QAction (QIcon (":/actions/icons/search.png"),
                                       tr ("&Find and Replace"), _tool_bar);