diff libgui/src/m-editor/file-editor-tab.h @ 16719:0f6f14e3ac6a

commenting selected lines in the editor uses comment string depending on lexer * file-editor-tab.h: new function comment_string * file-editor-tab.cc(comment_string): returns comment string depending on lexer name (do_comment_selected_text): get actual lexer and its comment string
author Torsten <ttl@justmail.de>
date Sun, 02 Jun 2013 19:17:49 +0200
parents 23b5dde25367
children 01d523d5f796
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h	Sun Jun 02 11:10:16 2013 +0200
+++ b/libgui/src/m-editor/file-editor-tab.h	Sun Jun 02 19:17:49 2013 +0200
@@ -176,6 +176,7 @@
 
   int check_file_modified ();
   void do_comment_selected_text (bool comment);
+  QString comment_string (const QString&);
 
   void add_breakpoint_callback (const bp_info& info);
   void remove_breakpoint_callback (const bp_info& info);