Jump to content
Muxe Inc Forums
Sign in to follow this  
Avchent

Highlight file (*.hgl), RegKeywords, select 2nd word

Recommended Posts

Avchent    0

Hello all,

 

I would like to change color for 2nd word (MyWord) in such structure

for Forth language:

 

Code MyWord ; ( size -- x )

 

In this connection I write to Highlight file (*.hgl)

 

FILES *.F32

RegKeywords Color Brown ^Code[ \t]+(\b\S+)

 

but that way I set color for both words: "Code MyWord"

How can I set color for any word after "Code"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×