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

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

[Octave-bug-tracker] [bug #55276] Indent code does not indent "else" pro


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55276] Indent code does not indent "else" properly
Date: Sat, 12 Jan 2019 02:27:06 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #7, bug #55276 (project octave):

I'm having a similar issue with "switch".

If I just type it out in the editor, it indents it like this:


function foo(x)
  switch x
    case 1
      case 2
        case 3
          case 4
            case 5
              otherwise
  end
end


Could a similar fix be used for switch?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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