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

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

[Octave-bug-tracker] [bug #51321] end keyword used as index disrupts cod


From: Marshall
Subject: [Octave-bug-tracker] [bug #51321] end keyword used as index disrupts code folding
Date: Tue, 27 Jun 2017 12:21:39 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #1, bug #51321 (project octave):

I found that 'while' is not matched to end statements, for code folding
either. That by itself is not a problem (though I think it should), but that
means the end for a while then becomes a mismatch for other folding statements
so that any statements after it aren't properly marked for folding. E.g. :


a=0;
while a<3;
  a++;
endwhile

if true
  b=a;
endif
-varbatim-

The endwhile above isn't matched to the while (no folding for the while), so
the if/endif aren't shown to match (but still fold).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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