1

If you make a todo-comment, e.g. %XX, it will be highlighted green (in my case).

Can I manually highlight other code? For instance, it would be a help to me if I could highlight the section and subsection title, so I could easiler navigate and keep an over view.

Thruston
  • 42,268
jbahn
  • 443

1 Answers1

3

TeXstudio does highlight quite a lot different things.

  1. You can adapt the colors for known formats at Options -> Syntax Highlighting. For sections use Basic Highlighting -> structure.
  2. For modifying which %TODO-like commands are matched, adapt `Options -> Advanced Editor -> Structure Panel -> Regular expression for TODO comment.
  3. There are a number of further options which control highlighting of relevant information such as undefined commands.
  4. If you want even more control, you can modify the Language Definition. Be sure to understand the implications. You can find an example here.
Tim Hoffmann
  • 11,159