bugGNU Octave - Bugs: bug #46809, Editor: color matching not quite...

 
 

bug #46809: Editor: color matching not quite right after }' combination

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Mon 04 Jan 2016 10:37:46 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 06 Jan 2016 02:15:57 PM UTC, comment #8: 

Fixed upstream (QScintilla) - closing report

John Donoghue <lostbard>
Group Member
Tue 05 Jan 2016 03:03:36 AM UTC, comment #7: 

From a google search 11.0 corresponds to v2.8.1 of QScintilla - ie: prior to the fix upstream.

Since it is a QScintilla issue mark as invalid and close?

John Donoghue <lostbard>
Group Member
Mon 04 Jan 2016 09:14:35 PM UTC, comment #6: 

Not sure what version the 11.0.1 library matches, but the transpose fix was in Scintilla 3.5.0 and made its way into QScintilla2 v2.9 released 20-April-2015

John Donoghue <lostbard>
Group Member
Mon 04 Jan 2016 03:55:43 PM UTC, comment #5: 

libqscintilla2.so.11.0.1

Ceral Paquet <octavebugs>
Mon 04 Jan 2016 03:15:15 PM UTC, comment #4: 

What version of qscintilla?

I remember sending a patch to scintilla to correct the issue with transpose, but cant remember which version the patch was used in.


John Donoghue <lostbard>
Group Member
Mon 04 Jan 2016 02:24:01 PM UTC, comment #3: 

I just compiled 4.01-rc1 and still see the issue, even after rebooting. I'm on Xubuntu 14.04 BTW.

Ceral Paquet <octavebugs>
Mon 04 Jan 2016 12:26:35 PM UTC, comment #2: 

It also works for me in ubuntu  and octave 4.1.0+

Doug Stewart <dastew>
Mon 04 Jan 2016 12:15:46 PM UTC, comment #1: 

It's not the right bracket but the transpose operator ' immediately following that right bracket that seems to be responsible.
Is this reproducible? (restart Octave, try again by pasting that code in an empty editor pane)

Anyway this works fine for me (on Windows with Octave-4.1.0+), see attached screenshot.



Philip Nienhuis <philipnienhuis>
Group Member
Mon 04 Jan 2016 10:37:46 AM UTC, original submission:  

The GUI Editor color coding doesn't seem to handle }' properly. Paste the snippet below into the editor to see what I mean - I see all the text following }'*b in yellow.


for k = 1:10
    % comment 1
    G(k) = V{k}*S{k}*U{k}'*b;
    % comment 2
    G(k) = G(k)-1;
end


Screenshot attatched.

Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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 dastew (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-06 lostbard Item GroupNone Inaccurate Result
        StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-01-04 philipnienhuis Attached File- Added Editor_snippet_b46809B.png, #35917
    2016-01-04 octavebugs Attached File- Added Screenshot_2016-01-04_11-36-37.png, #35916

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code