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

 
 

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

Submitted by:  Marshall <marsian>
Submitted on:  Fri 01 Dec 2017 07:53:42 PM UTC  
 
Category: GUISeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: MarsianOpen/Closed: Open
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.

 

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 <ttl>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Dec 2017 10:48:44 AM UTCttlSeverity3 - 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.1-cleanup1