Sublime Forum

How to set Syntax Specific color

#1

Hi all,
I am using free version of sublime text 3, and I mainly use it to edit a specific file type. In which, the data are like:

ABC_DEF_GHI
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT


I want to set different colors for the “ABC” , “DEF” and “GHI” in every first line (indicated by a “>”), while keeping the “T” in the next line as default text color.

Can anyone help with this? Many thanks:grin:

0 Likes

#2

Write a custom syntax (language) definition then colour it with a theme.

0 Likes