bugGNU Octave - Bugs: bug #40626, Column numbers in GUI editor

 
 

bug #40626: Column numbers in GUI editor

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Mon 18 Nov 2013 08:29:05 PM UTC  
 
Category: GUISeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Philip NienhuisOpen/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)

Wed 20 Nov 2013 11:08:06 AM UTC, comment #6:

Pushed with your changes.
http://hg.savannah.gnu.org/hgweb/octave/rev/4a53bcc1a4ae

John Donoghue <lostbard>
Project Member
Tue 19 Nov 2013 09:10:28 PM UTC, comment #5:

Looks good! But a font with variable width for different numbers leads to jitter when moving the cursor around the text. Attached a slightly modified patch which avoids that.

(file #29668)

Torsten <ttl>
Project Member
Tue 19 Nov 2013 07:59:46 PM UTC, comment #4:

Works fine on Linux as well.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 19 Nov 2013 07:59:31 PM UTC, comment #3:

Just tried (on MinGW) and it works fine.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 19 Nov 2013 02:49:39 AM UTC, comment #2:

Something like this? (patch attached)

(file #29657)

John Donoghue <lostbard>
Project Member
Mon 18 Nov 2013 09:03:48 PM UTC, comment #1:

We should add status bar to the editor where among other information the line and column number is displayed.

Torsten <ttl>
Project Member
Mon 18 Nov 2013 08:29:05 PM UTC, original submission:

For the wish list:

We have row numbers in the editor (+ option to display them in preferences); a column number (where the cursor is) or even combined row#/column# indicator somewhere would be bery helpful as well (I very often use that with Notepad++)

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29668:  edit_status_01.patch added by ttl (3KiB - text/x-diff)
file #29657:  edit_status.patch added by lostbard (3KiB - text/x-patch)

 

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 ttl (Posted a comment)
  • -unavailable- added by philipnienhuis (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Nov 2013 11:08:06 AM UTClostbardStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Tue 19 Nov 2013 09:10:28 PM UTCttlAttached File-=>Added edit_status_01.patch, #29668
    Tue 19 Nov 2013 02:49:39 AM UTClostbardAttached File-=>Added edit_status.patch, #29657
      StatusConfirmed=>Patch Submitted
    Mon 18 Nov 2013 09:03:48 PM UTCttlStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1