How to make Far3 editor to highlight a specific word?

Here you can discuss about your favorite plug-in.
Shmuel
Posts: 6815
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 526 times

How to make Far3 editor to highlight a specific word?

Post by Shmuel »

Latest post of the previous page:

In your 6003 installation rename Far.exe.example.ini to Far.exe.ini then change the line
;UseSystemProfiles=1 to UseSystemProfiles=0 then run the Far.
kamil
Posts: 44
Joined: Fri 13 Apr, 2012 19:19
Has thanked: 8 times

How to make Far3 editor to highlight a specific word?

Post by kamil »

Yes, then it works!

So there must be something in my configuration that breaks it?
I will look into it... Thanks!
kamil
Posts: 44
Joined: Fri 13 Apr, 2012 19:19
Has thanked: 8 times

How to make Far3 editor to highlight a specific word?

Post by kamil »

Looks like it was the Profile\colors file
Thank you very much!
kamil
Posts: 44
Joined: Fri 13 Apr, 2012 19:19
Has thanked: 8 times

How to make Far3 editor to highlight a specific word?

Post by kamil »

I had to also remove PluginsData\D2F36B62-A470-418D-83A3-ED7A3710E5B5.db as the colors file was going back to bad after each Far exit.

Editor.ColorWord.moon ius exactly what I needed - thank you!
Last edited by kamil on Thu 08 Sep, 2022 11:45, edited 2 times in total.
User avatar
HaRT
Moderator
Posts: 10806
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 220 times
Been thanked: 357 times

How to make Far3 editor to highlight a specific word?

Post by HaRT »

kamil wrote: Thu 08 Sep, 2022 11:43 Editor.ColorWord.moon ius exactly what I needed
Please note that it can highlight all matches of the current selection, not only whole words. (However it handles selections with line breaks incorrectly.)
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
citRiks
Posts: 1733
Joined: Fri 25 Oct, 2019 18:18
Has thanked: 610 times
Been thanked: 102 times

How to make Far3 editor to highlight a specific word?

Post by citRiks »

kamil wrote: Thu 08 Sep, 2022 10:58I see it has 3 dependencies. How do I install them?
as everything, which is a module, need to be put in %FARPROFILE%\Macros\modules :)
I will review the scripts itselves and that readme document there, which actually not very explanatory.
Today evening hopefully..
User avatar
citRiks
Posts: 1733
Joined: Fri 25 Oct, 2019 18:18
Has thanked: 610 times
Been thanked: 102 times

How to make Far3 editor to highlight a specific word?

Post by citRiks »

kamil, do you still need my highliting script, or you already are satisfied with those suggested ?
(my higlhiting actually is an improved version of moon-script mentioned here before)
Also this guy did a decent work on the basis of the same "Editor.ColorWord.moon":
viewtopic.php?p=164431#p164431
Last edited by citRiks on Mon 12 Sep, 2022 20:33, edited 1 time in total.
Post Reply

Return to “General Plug-In Discussions”