4coder » Forums » Syntax highlighting
simonWasHere
4 posts
#11370 Syntax highlighting
2 months ago

Hi,

Firstly, thanks for the great editor, and I'm sorry if this is a stupid question.

I would like to be able to set a list of words that 4coder will treat as types and show them in orange in the same way it does for int. For example if I typedef an int32 it would be nice to be able to highlight it the same way.

Is that possible?

thanks,

Simon

Mr4thDimention
Allen Webster
217 posts
2 projects

Heyo

#11377 Syntax highlighting
2 months ago

That's a fine question. No 4coder is missing that feature right now. I'd like to add it soon, but I think my TODO list for 4.0.18 is already too long, so I can't squeeze it in for the next version. I will probably follow up 4.0.18 with a build devoted to detail oriented concerns like this one, and I'll make sure keyword customization is on my todo list for that build.
simonWasHere
4 posts
#11387 Syntax highlighting
2 months ago

Ok great, thanks!
simonWasHere
4 posts
#11748 Syntax highlighting
4 weeks ago

A slight update to this request having thought about it a bit more.

Instead of just having a customisable keyword list all of which will be shown the same way, ideally it would be great to specify a list of words and set a colour for each one.
Mr4thDimention
Allen Webster
217 posts
2 projects

Heyo

#11751 Syntax highlighting
4 weeks ago Edited by Allen Webster on April 24, 2017, 3:21 p.m.

That's a good thought, and I think that it could reasonably be done for the next build. Thanks for the idea!