Mercurial > octave
comparison libgui/src/m-editor/file-editor.cc @ 21568:3d60ed163b70
maint: Eliminate bad spacing around '='.
* Figure.h, PopupMenuControl.cc, annotation-dialog.cc, gl-select.h,
files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc,
file-editor.cc, main-window.cc, webinfo.cc, resource-manager.cc,
shortcut-manager.cc, workspace-view.cc, __ichol__.cc, __ilu__.cc,
__lin_interpn__.cc, bitfcns.cc, debug.cc, filter.cc, ft-text-renderer.cc,
graphics.cc, graphics.in.h, hex2num.cc, jit-typeinfo.cc, load-save.cc,
ls-mat5.cc, mxarray.in.h, oct-stream.cc, pr-output.cc, variables.cc,
__init_fltk__.cc, __magick_read__.cc, chol.cc, ov-struct.cc, op-scm-cs.cc,
pt-assign.cc, CollocWt.cc, randpoisson.c, inputParser.m, quadgk.m, waitbar.m,
imwrite.m, __imread__.m, textread.m, fileattrib.m, __xzip__.m, what.m,
fsolve.m, fix_depends.m, stemleaf.m, bicgstab.m, ichol.m, io.tst:
maint: Eliminate bad spacing around '='.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 30 Mar 2016 22:09:26 -0700 |
parents | 08baf0ebc9a9 |
children | 683a1beee538 |
comparison
equal
deleted
inserted
replaced
21567:3d25f9f4a62b | 21568:3d60ed163b70 |
---|---|
219 void | 219 void |
220 file_editor::request_new_function (bool) | 220 file_editor::request_new_function (bool) |
221 { | 221 { |
222 bool ok; | 222 bool ok; |
223 // get the name of the new function | 223 // get the name of the new function |
224 QString new_name = QInputDialog::getText (this, tr ("New Function"), | 224 QString new_name = QInputDialog::getText (this, tr ("New Function"), |
225 tr ("New function name:\n"), QLineEdit::Normal, "", &ok); | 225 tr ("New function name:\n"), QLineEdit::Normal, "", &ok); |
226 if (ok && new_name.length () > 0) | 226 if (ok && new_name.length () > 0) |
227 { | 227 { |
228 // append suffix if it not already exists | 228 // append suffix if it not already exists |
229 if (new_name.rightRef (2) != ".m") | 229 if (new_name.rightRef (2) != ".m") |
230 new_name.append (".m"); | 230 new_name.append (".m"); |
1685 _goto_line_action = add_action (_edit_nav_menu, QIcon (), | 1685 _goto_line_action = add_action (_edit_nav_menu, QIcon (), |
1686 tr ("Go &to Line..."), SLOT (request_goto_line (bool))); | 1686 tr ("Go &to Line..."), SLOT (request_goto_line (bool))); |
1687 | 1687 |
1688 _edit_cmd_menu->addSeparator (); | 1688 _edit_cmd_menu->addSeparator (); |
1689 | 1689 |
1690 _move_to_matching_brace = add_action (_edit_nav_menu, QIcon (), | 1690 _move_to_matching_brace = add_action (_edit_nav_menu, QIcon (), |
1691 tr ("Move to Matching Brace"), SLOT (request_move_match_brace (bool))); | 1691 tr ("Move to Matching Brace"), SLOT (request_move_match_brace (bool))); |
1692 _sel_to_matching_brace = add_action (_edit_nav_menu, QIcon (), | 1692 _sel_to_matching_brace = add_action (_edit_nav_menu, QIcon (), |
1693 tr ("Select to Matching Brace"), SLOT (request_sel_match_brace (bool))); | 1693 tr ("Select to Matching Brace"), SLOT (request_sel_match_brace (bool))); |
1694 | 1694 |
1695 _edit_nav_menu->addSeparator (); | 1695 _edit_nav_menu->addSeparator (); |
1696 | 1696 |
1697 _previous_bookmark_action = add_action (_edit_nav_menu, QIcon (), | 1697 _previous_bookmark_action = add_action (_edit_nav_menu, QIcon (), |
1698 tr ("Pre&vious Bookmark"), SLOT (request_previous_bookmark (bool))); | 1698 tr ("Pre&vious Bookmark"), SLOT (request_previous_bookmark (bool))); |
1699 _next_bookmark_action = add_action (_edit_nav_menu, QIcon (), | 1699 _next_bookmark_action = add_action (_edit_nav_menu, QIcon (), |
1700 tr ("&Next Bookmark"), SLOT (request_next_bookmark (bool))); | 1700 tr ("&Next Bookmark"), SLOT (request_next_bookmark (bool))); |
1701 _toggle_bookmark_action = add_action (_edit_nav_menu, QIcon (), | 1701 _toggle_bookmark_action = add_action (_edit_nav_menu, QIcon (), |
1702 tr ("Toggle &Bookmark"), SLOT (request_toggle_bookmark (bool))); | 1702 tr ("Toggle &Bookmark"), SLOT (request_toggle_bookmark (bool))); |
1703 _remove_bookmark_action = add_action (_edit_nav_menu, QIcon (), | 1703 _remove_bookmark_action = add_action (_edit_nav_menu, QIcon (), |
1704 tr ("&Remove All Bookmarks"), SLOT (request_remove_bookmark (bool))); | 1704 tr ("&Remove All Bookmarks"), SLOT (request_remove_bookmark (bool))); |
1705 | 1705 |
1706 _edit_menu->addSeparator (); | 1706 _edit_menu->addSeparator (); |