Results 1 to 7 of 7

Thread: highlight multiple searches editor - suggestions

  1. #1
    Join Date
    May 2013
    Beans
    10

    highlight multiple searches editor - suggestions

    Hello guys,

    I'm openning this thread to ask you if you know an text editor that allow do highlight multiple words with differents colors.
    In windows i use Notepad++, and it has a option call "style token" with 5 different colors that I can use to highlight any part of the txt file... although i can run notepad++ in linux using wine, but i'm trying to find another solution to do this...

    I need this kind of feature to help me in log analisys... if you guys have any other editor that does that, please help me!

    thank you
    BR

    Max

  2. #2
    Join Date
    May 2013
    Beans
    10

    Re: highlight multiple searches editor - suggestions

    I found an script for VI that enable something like that:

    http://vim.wikia.com/wiki/Highlight_multiple_words

    but the problem now is with the numeric keypad mapping... the script of link above, assumes you have a numeric keypad already mapped on vi...
    i'd tried some ways to do it, but didn't work...


    any ideia?

  3. #3
    Join Date
    Mar 2006
    Beans
    393

    Re: highlight multiple searches editor - suggestions

    If you're using ViM, add this line to your `~/.vimrc` file. It will highlight all the search matches.
    Code:
    set hlsearch
    Just my 0.00000002 million dollars worth,
    Shawn

    Programming is as much about organization and communication as it is about coding.

  4. #4
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: highlight multiple searches editor - suggestions

    Are you talking about random search results or about syntax highlighting?

  5. #5
    Join Date
    May 2013
    Beans
    10

    Re: highlight multiple searches editor - suggestions

    Ago
    ofnuts,

    i'm talking about highlight multiple searches results...
    example:

    1) search <word1> - result will highlight all occurrences of word1

    2) search <pattern1> - result will
    highlight all occurrences of pattern1.

    in notepad++ i do that by selecting the word or pattern with mouse then right click on selected text and chose an style (color).

  6. #6
    Join Date
    May 2013
    Beans
    10

    Re: highlight multiple searches editor - suggestions

    any tips?

  7. #7
    Join Date
    Apr 2013
    Location
    43.49°N 7.46°E
    Beans
    117
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: highlight multiple searches editor - suggestions

    you might give a look to jEdit.

Bookmarks

Posting Permissions

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