Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None Please use the bug tracker for bugs
I have pushed this changeset with http://hg.savannah.gnu.org/hgweb/octave/rev/cb36684b7a33
Thanks for the new feature.
Oops! Here it is.
(file #37481)
Lachlan, I see no attachment :-)
This patch causes the GUI editor to insert "endif" or "end" after the user types a line starting with "if", if its indent-based heuristics suggest that there isn't already one there.
The choice between "end" and "endif" is configurable, and this feature can be disabled through the Edit->Preferences menu.
Closings are provided for: if for while function try unwind_protect classdef methods.
This doesn't check that they user typed the "if" (etc) recently. Whenever ENTER is pressed, it checks the start of the line. Normally, the heuristics stop this from producing too many closings.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9