bugGNU Octave - Bugs: bug #52659, end or endwhile of while statement...


bug #52659: end or endwhile of while statement misaligns code folding

Submitted by:  Marshall <marsian>
Submitted on:  Wed 13 Dec 2017 07:10:11 PM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  John Donoghue <lostbard>
Originator Name:  Marsian Open/Closed:  Closed
Release:  4.2.1 Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 02 Jan 2018 06:43:20 PM UTC, comment #3:

And added patch to mxe.


closing as fixed

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 02 Jan 2018 01:12:44 PM UTC, comment #2:

scintilla bug report: https://sourceforge.net/p/scintilla/bugs/1985/

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 02 Jan 2018 12:52:59 AM UTC, comment #1:

Same as the previous bug, this is really a bug in scintilla not Octave, where it doesnt recognise while as a foldpoint keyword

I will create a patch to send on to scintilla and submit a bug there

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 13 Dec 2017 07:10:11 PM UTC, original submission:

Code folding doesn't work right when there are while statements:

The wrong sections of code are folded in the case shown. I first mentioned this in bug #51321, and although that bug was fixed, this issue persists. This bug is also in the dev version.

Marshall <marsian>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by marsian (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-02 lostbard StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2018-01-02 lostbard Assigned toNone => lostbard
    2018-01-02 lostbard StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.4