Author Topic: Syntax highlight  (Read 2910 times)

ben79

  • Guest
Syntax highlight
« on: June 09, 2023, 10:29:38 pm »
Hey there, I want that my editor will automatically highlight common keywords like "printf", "stderr", "malloc" etc in a color of my choice.

I tried manually adding those keywords to the "Keywords" list that's located in "Setting>Editor>Syntax highlighting" and it did worked, but I couldn't chose a specific color in which the added keywords will be highlighted (it just highlighted all of them in blue).

Much thanks to everyone that try to help,
Ben.
« Last Edit: June 09, 2023, 10:31:20 pm by ben79 »

Offline zxd

  • Single posting newcomer
  • *
  • Posts: 4
Re: Syntax highlight
« Reply #1 on: June 27, 2023, 09:57:51 am »
Setting>Editor>Syntax highlighting>keywords, switch to the set 2 (secondary keywords and identifiers), and add "printf", "malloc", etc. to the set.Then, edit the syntax highlighting of user keywords. That's it.