Mercurial > hg > octave-nkf
comparison gui/src/m-editor/file-editor.cc @ 15105:f4ea22ef2beb gui
Incorporated patch that adds replace from Torsten and modified it.
* file-editor.cc: Added replace functionality.
* find-dialog: Added replace functionality and rearranged UI elements.
author | Jacob Dawid <jacob.dawid@gmail.com> |
---|---|
date | Sat, 04 Aug 2012 11:18:20 +0200 |
parents | 4c4f2fb07a50 |
children | 59175df7dcf6 |
comparison
equal
deleted
inserted
replaced
15104:093961d9ebed | 15105:f4ea22ef2beb |
---|---|
378 | 378 |
379 QAction *comment_selection_action = new QAction (tr ("&Comment Selected Text"),_tool_bar); | 379 QAction *comment_selection_action = new QAction (tr ("&Comment Selected Text"),_tool_bar); |
380 QAction *uncomment_selection_action = new QAction (tr ("&Uncomment Selected Text"),_tool_bar); | 380 QAction *uncomment_selection_action = new QAction (tr ("&Uncomment Selected Text"),_tool_bar); |
381 | 381 |
382 QAction *find_action = new QAction (QIcon(":/actions/icons/find.png"), | 382 QAction *find_action = new QAction (QIcon(":/actions/icons/find.png"), |
383 tr ("&Find"), _tool_bar); | 383 tr ("&Find and Replace"), _tool_bar); |
384 | 384 |
385 _run_action = new QAction (QIcon(":/actions/icons/artsbuilderexecute.png"), | 385 _run_action = new QAction (QIcon(":/actions/icons/artsbuilderexecute.png"), |
386 tr("Save File And Run"), _tool_bar); | 386 tr("Save File And Run"), _tool_bar); |
387 | 387 |
388 // some actions are disabled from the beginning | 388 // some actions are disabled from the beginning |