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

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

[Octave-bug-tracker] [bug #42569] Glitch in code folding


From: Armin Müller
Subject: [Octave-bug-tracker] [bug #42569] Glitch in code folding
Date: Mon, 16 Jun 2014 12:43:14 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0

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

                 Summary: Glitch in code folding
                 Project: GNU Octave
            Submitted by: arm_in
            Submitted on: Mo 16 Jun 2014 12:43:13 GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Example code:


function code_folding_demo

for x = 1:5   % Code folding is working, but not indicated

  % ^^^ please remove empty line above *or* enter some white space ^^^

  a = b + c;
end

for x = 1:5   % OK
  a = b + c;
end


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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 16 Jun 2014 12:43:13 GMT  Name: code_folding_demo.m  Size: 226B   By:
arm_in

<http://savannah.gnu.org/bugs/download.php?file_id=31566>
-------------------------------------------------------
Date: Mo 16 Jun 2014 12:43:13 GMT  Name: code_folding_demo.png  Size: 38kB  
By: arm_in

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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