Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 7494  / 2 Years ago, wed, august 31, 2022, 7:40:38

Using gedit 3, I've tried multiple plugins to highlight all instances of the current selection (a la Notepad++):



https://code.google.com/p/smart-highlighting-gedit/



https://github.com/mmuell23/mmuell23



The smart-highlighting will seem to install and let me activate it, but doesn't seem to actually do anything.



The one at github was written for v2. To try to hack it into v3, I've tried:




  • change .gedit-plugin to just .plugin

  • edit IAge=2 to read IAge=3



That one still won't load (doesn't appear in prefs->plugins list). Doesn't throw an error, just doesn't load. I also can't find the gedit logs anywhere to see if there's a helpful message (I'm relatively new to Linux). I checked /var/logs/ but there's no gedit.



Can anyone help? I just want the auto-highlighting to work.


More From » gedit

 Answers
7

You don't need any plugin to highlight all instances of a selection in gedit. Select the text about you are interested in, then just press Ctrl+F (to search all instances of that selected text):



gedit - highlight text






Now, let me give you some explanations about those plugins. First one, smart-highlighting is working like a charm for me. How I made:





Second plugin, it's for gedit2.x and finish. It's not enough a simple hack like you tried.



[UPDATE]



Only works if installed to ~/.local/share/gedit/plugins/. More in comments.


[#29259] Thursday, September 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
heaco questions
Sun, Aug 15, 21, 03:08, 3 Years ago
Thu, Oct 14, 21, 16:28, 3 Years ago
Thu, Jun 30, 22, 09:40, 2 Years ago
;