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

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

[Octave-bug-tracker] [bug #60649] Incorrect indentation for endswitch an


From: Torsten Lilge
Subject: [Octave-bug-tracker] [bug #60649] Incorrect indentation for endswitch and otherwise keywords in GUI editor
Date: Sat, 22 May 2021 04:46:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

Follow-up Comment #5, bug #60649 (project octave):

What exactly do you mean by "interactive editing" or what are the precise
steps to get the issue shown in comment #44.

On my Debian system, everything works fine including indentation of
"otherwise". The only issue I am seeing is that "endswitch" or "end" is not
correctly indented (but differently):


switch a
  case 1
    b = 0
  case 2
    b = 5
  otherwise
    b = -1
  end



switch a
  case 1
    b = 0
  case 2
    b = 5
  otherwise
    b = -1
    endswitch


However, the auto closing feature sets the correct indentation.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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