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

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

[Octave-bug-tracker] [bug #47414] Folding editor text breaks cursor move


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47414] Folding editor text breaks cursor movement
Date: Tue, 15 Mar 2016 09:22:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?47414>

                 Summary: Folding editor text breaks cursor movement
                 Project: GNU Octave
            Submitted by: lachlan
            Submitted on: Tue 15 Mar 2016 09:22:15 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Patch Submitted
             Assigned to: lachlan
         Originator Name: Lachlan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When text is "folded" by clicking on the "-" boxes in the GUI editor, the
cursor is sent to the wrong position by things like stopping at breakpoints,
dbstep, and "goto" by ^G.  Instead of going to line X of the document, it goes
to "visible" line X.

Moreover, going to a line that has been folded doesn't unfold that line.

To see the problem, load the attached "fold_problem.m", fold all of the loops,
then type ^G 10 <enter>.

The attached changeset fixes this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 15 Mar 2016 09:22:15 AM GMT  Name: folded_goto.cset  Size: 2kB   By:
lachlan

<http://savannah.gnu.org/bugs/download.php?file_id=36644>
-------------------------------------------------------
Date: Tue 15 Mar 2016 09:22:15 AM GMT  Name: fold_problem.m  Size: 2kB   By:
lachlan

<http://savannah.gnu.org/bugs/download.php?file_id=36645>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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