bugGNU Octave - Bugs: bug #52573, Provide scrollbar marks and scoped...

 
 

bug #52573: Provide scrollbar marks and scoped highlighting for selected words in the editor

Submitter:  Marshall <marsian>
Submitted:  Fri 01 Dec 2017 07:53:42 PM UTC
   
 
Category:  GUI Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Marsian Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 Dec 2017 10:48:44 AM UTC, comment #1: 

Highlighting all occurrences of a word that was selected by a double click was provided by solving bug #41470. The lines of the occurrences in the visible region are additionally marked in the left margin. However there is no scoped highlighting or a visualization of all occurrences in the text in the vertical scrollbar. I am changing the title of this report accordingly.

Torsten Lilge <ttl>
Group Member
Fri 01 Dec 2017 07:53:42 PM UTC, original submission:  

It would be very beneficial if all instances of a selected variable could be highlighted in the editor. I've found this a very useful feature I rely on in the Matlab and Notepad++ editors. It helps to know where else in the code a variable is used (or not used due to mis-spelling). Notepad++ highlights all variables of the same name, whereas Matlab does scoped highlighting. I've found both to be useful in different ways, either to limit highlighting to a given code scope, or to see all places a phrase or variable by the same name is used in any scope or in comments. I'd be happy if either method were implemented (and happiest if both were implemetned with an option to toggle between methods). 

Another very useful extension to variable highlighting is if a colored marker is placed by the scrollbar to show where instances occur in the whole document, not just where they are visible in the current view. Matlab does this and I have an addon in Notepad++ to do this (and used to have an addon in firefox that did the same on ctl-f on searches).

Marshall <marsian>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by marsian (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-02 ttl Severity3 - Normal 1 - Wish
        Release4.2.1 dev
        SummaryPlease highlight selected variables in the Editor Provide scrollbar marks and scoped highlighting for selected words in the editor

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code