octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56160] editor: inappropriate auto insert of "


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56160] editor: inappropriate auto insert of "end*" when inserting newlines after keyword
Date: Thu, 18 Apr 2019 14:44:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

Update of bug #56160 (project octave):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #5:

Ok, confirmed. This example shows the same result


function foo

x = 1;

endfunction


Or this example


if (x)
y = 0;
endif


Pressing Enter at the end of the first line in each example adds a new
'endfunction' or 'endif'. The detection of matching 'end' keywords seems to be
dependent on having proper indentation.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56160>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]