|
From: | Avinoam Kalma |
Subject: | [Octave-bug-tracker] [bug #55276] Indent code does not indent "else" properly |
Date: | Mon, 24 Dec 2018 16:31:19 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #1, bug #55276 (project octave): Sorry. Again: Example: See the following simple code: function aa = fun (arg1) if (nargin == 0) arg1 = 0; else arg2 = 5; endif endfunction "else" is not indented correctly. If I select the whole code and perform "Indent Code" (shortkey defined by Preferences -> Shortcuts -> Editor -> Edit Menu -> Indent Code) I get: function aa = fun (arg1) if (nargin == 0) arg1 = 0; else arg3 = 5; endif endfunction _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55276> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |