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

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

[Octave-bug-tracker] [bug #56533] Cursor misplaced when entering newline


From: Markus Ebner
Subject: [Octave-bug-tracker] [bug #56533] Cursor misplaced when entering newline in editor
Date: Fri, 21 Jun 2019 08:12:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?56533>

                 Summary: Cursor misplaced when entering newline in editor
                 Project: GNU Octave
            Submitted by: seijikun
            Submitted on: Fri 21 Jun 2019 12:12:10 PM UTC
                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: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hey guys.
When I use the editor and insert a newline between two code-lines, the cursor
is not placed where it should be.
If I remember correctly, this bug has always been there, as long as I used
octave (4.x). I am currently using 5.1.0 though.

Example; editing a new file with the content:

function thisIsATest()
        disp("test");
endfunction


Put the cursor at the end of the first line. When I now press Enter, to insert
a new line, I would expect the cursor to land in this line, with the proper
indendation as taken from the line below it. Instead, the cursor lands here
(before the "i"):

function thisIsATest()
        disp("test");
         ^

This only happens when there are two code-lines directly beneath each other.
This makes inserting multiple newlines pretty cumbersome, as you might
imagine.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 21 Jun 2019 12:12:10 PM UTC  Name: demo.mp4  Size: 165KiB   By:
seijikun
Demonstration video
<http://savannah.gnu.org/bugs/download.php?file_id=47115>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56533>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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