Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jul 2017
    Posts
    2

    Default

    Me too!!! I want all instances of the current selection highlighted. Or even a "find-all" that we could run that would highlight all instances of searching string. Highlighting has to be persistent though.

    Please please please!!

  2. #12
    Join Date
    May 2018
    Posts
    2

    Default

    +99999 also from here.
    On reviewing code this would be very helpful.
    Also "Meld" from Tortoise can do this.

    Come on guys @ scooter software, please implement this feature.

    Thank you!

  3. #13
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,830

    Default

    Thanks for the feedback. This is something still on our wishlist as something we'd like to tackle; I'll add your notes to our entry on the subject.
    Aaron P Scooter Software

  4. #14
    Join Date
    May 2018
    Posts
    2

    Default

    Can you please pump this up to the top of the wishlist, because the OP is from 2009 (9 years ago).

    thx a lot

  5. #15
    Join Date
    Dec 2007
    Posts
    10

    Default

    This is something still on our wishlist as something we'd like to tackle;
    I'm really wondering why this is not yet available. Implementation of such a feature shouldn't be much effort and there are lots of requests for that starting a long time ago:
    https://www.scootersoftware.com/vbul...ht-all-matches
    https://www.scootersoftware.com/vbul...-selected-text
    https://www.scootersoftware.com/vbul...h-highlighting
    https://www.scootersoftware.com/vbul...-selected-word
    https://www.scootersoftware.com/vbul...ight-same-text

    The requests are starting in 2009!
    Currently I'm opening the files with Notepad++ when I need the highlighting to get a better overview of the file content. Maybe it's not yet clear why this is so useful. One example: You find a difference in the 10th line below, where suggestedItem is used, and want to see what exactly it is related to. By double clicking 'suggestedItem', all occurrences of that word are highlighted (better by background color but this is not possible to show here), so that you can immediately find the definition and assignment of that variable.

    Code:
    ICompletionData suggestedItem = listBox.SelectedIndex != -1 ? (ICompletionData)(listBox.Items
    [listBox.SelectedIndex]) : null;
    
    var listBoxItems = new ObservableCollection<ICompletionData>();
    int bestIndex = -1;
    int bestQuality = -1;
    double bestPriority = 0;
    int i = 0;
    foreach (var matchingItem in matchingItems) {
        double priority = matchingItem.Item == suggestedItem ? double.PositiveInfinity : matchingItem.Item.Priority;
        int quality = matchingItem.Quality;
        if (quality > bestQuality || (quality == bestQuality && (priority > bestPriority))) {
            bestIndex = i;
            bestPriority = priority;
            bestQuality = quality;
        }
        listBoxItems.Add(matchingItem.Item);
        i++;
    }
    This is just one example for something which happens quite often and is very helpful for me and other users as well.
    Please consider to increase priority for this request.

  6. #16
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,830

    Default

    Hello,

    It's something we want to tackle, but the current Find wasn't initially built with this behavior in mind, and isn't a small change to implement. Given this is how many modern Find solutions work, it's definitely on our radar when we're redesigning this area of the program.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •