One of my favorite features in notepad plus plus (possible in emacs as well) is that when I select a word in the editor, every appearance of this word, in the editor, is highlighted.
Is this possible in TeXstudio's editor?
An automatic highlighting of all repetitions of a selection is not supported in TXS. However the search (Ctrl+F) has an option to highlight all matches.
IMO this functionality is far more useful in source code than in tex files, e.g. highlighting all occurences of a variable. Therefore, highlighting via searching seems sufficient. What would you want to use it for?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would find it a good feature. For example it would help to identify recurring phrases or words. And last but not least: tex files are also some kind of "source code".
Last edit: Till Fischer 2016-01-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Recurring words/phrases are already highlighted through the grammar checker, even without the need of selection.
tex files are also some kind of "source code"
That's true, however, IMO the main use for the automatic highlighting is finding the usage of variables. In TeX there's far less need for it. We already handle word repetition. That basically leaves commands and labels. Labels are often more spread and don't fit all on the screen, which requires a search anyway. Concerning commands, I don't see why one would to search for them.
So I still don't see the benefit and thus don't think it's worth the effort.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
An automatic highlighting of all repetitions of a selection is not supported in TXS. However the search (
Ctrl+F) has an option to highlight all matches.IMO this functionality is far more useful in source code than in tex files, e.g. highlighting all occurences of a variable. Therefore, highlighting via searching seems sufficient. What would you want to use it for?
I would find it a good feature. For example it would help to identify recurring phrases or words. And last but not least: tex files are also some kind of "source code".
Last edit: Till Fischer 2016-01-11
Recurring words/phrases are already highlighted through the grammar checker, even without the need of selection.
So I still don't see the benefit and thus don't think it's worth the effort.