Menu

#966 Selection Highlighting

None
wont-fix
nobody
5*
2016-02-06
2016-01-06
Anonymous
No

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?

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-01-08

    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?

     
  • Till Fischer

    Till Fischer - 2016-01-11

    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
  • Tim Hoffmann

    Tim Hoffmann - 2016-01-11

    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.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-02-06
    • status: open --> wont-fix
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB