bugGNU Octave - Bugs: bug #42569, Glitch in code folding

 
 

bug #42569: Glitch in code folding

Submitted by:  Armin Müller <arm_in>
Submitted on:  Mon 16 Jun 2014 12:43:13 PM UTC  
 
Category: GUISeverity: 2 - Minor
Priority: 3 - LowItem Group: Other
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu 19 Jan 2017 02:23:39 PM UTC, comment #8:

Pushed http://hg.octave.org/mxe-octave/rev/6e4a1de60e8b for mxe-octave

For non-mxe-octave distributions, fix will not be in effect until patch makes its way into the qscintilla release - outside of the control of octave.

Closing bug report as fixed as we have done everything we can do

John Donoghue <lostbard>
Project MemberIn charge of this item.
Fri 25 Nov 2016 05:55:12 PM UTC, comment #7:

Patch for scintilla has been committed - not it just has to find its way into qscintilla

John Donoghue <lostbard>
Project MemberIn charge of this item.
Thu 17 Nov 2016 01:54:40 PM UTC, comment #6:

And patch qscintilla for mxe-octave

(file #39002)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 15 Nov 2016 08:43:52 PM UTC, comment #5:

I need play around with it some more before sending to scintilla, but this appears to work when patched on the repo from scintilla:

(file #38976)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Sun 13 Nov 2016 09:20:54 PM UTC, comment #4:

Still present in 4.2.0-rc4

(obviously, there has been no activity in the linked Scintilla ticket)

Armin Müller <arm_in>
Sat 07 Feb 2015 02:35:47 PM UTC, comment #3:

Marking bug report as postponed but leaving open until Scintilla and QScintilla have the fix for this, then we can document here which version of the library is needed for this to work.

Mike Miller <mtmiller>
Project Administrator
Sat 07 Feb 2015 08:46:55 AM UTC, comment #2:

This issue is present in Scintilla (tested with latest SciTE version 3.5.3). I have filed a bug report that can be found here: https://sourceforge.net/p/scintilla/bugs/1692/

Torsten <ttl>
Project Member
Sat 07 Feb 2015 06:13:39 AM UTC, comment #1:

Confirmed. The bug is still present on the development branch which will become 4.0. This is very likely a Qscintilla bug which means we need upstream to fix it. Has it been reported there?

Rik <rik5>
Project Administrator
Mon 16 Jun 2014 12:43:13 PM UTC, original submission:

Example code:

In line 3, there is no [-] code folding indicator visible in the folding ruler. Nevertheless, it is possible to click on the invisible indicator to open and close folding. It will work as expected.

Removing line 4 or entering some white space in line 4 will work around this glitch. Notepad++ is showing exactly the same behaviour, maybe it is inherited from Scintilla.

Example code and screenshot attached.

Armin Müller <arm_in>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #39002:  qscintilla-2-matlab-fold.patch added by lostbard (6KiB - application/octet-stream)
file #38976:  fold.patch added by lostbard (7KiB - application/octet-stream)
file #31566:  code_folding_demo.m added by arm_in (226B - application/octet-stream)
file #31567:  code_folding_demo.png added by arm_in (38KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lostbard (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by arm_in (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 Jan 2017 02:23:39 PM UTClostbardStatusPostponed=>Fixed
      Assigned toNone=>lostbard
      Open/ClosedOpen=>Closed
    Thu 17 Nov 2016 01:54:40 PM UTClostbardAttached File-=>Added qscintilla-2-matlab-fold.patch, #39002
    Tue 15 Nov 2016 08:43:52 PM UTClostbardAttached File-=>Added fold.patch, #38976
    Sun 13 Nov 2016 09:40:57 PM UTCrik5Carbon-CopyRemoved 72865=>-
    Sat 07 Feb 2015 02:35:47 PM UTCmtmillerSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      Item GroupNone=>Other
      StatusConfirmed=>Postponed
    Sat 07 Feb 2015 06:13:39 AM UTCrik5StatusNone=>Confirmed
      Release3.8.1=>dev
      Operating SystemMicrosoft Windows=>Any
    Mon 16 Jun 2014 12:43:13 PM UTCarm_inAttached File-=>Added code_folding_demo.m, #31566
      Attached File-=>Added code_folding_demo.png, #31567

    Back to the top


    Powered by Savane 3.1-cleanup1