Replies: 1 comment 1 reply
-
| 
         FWIW, you can apply multiple  But for your specific case, I'd say you can use a   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing an AutoCompletion function for a command line language. I currently encounter a situation where the command radical and the parameter of the command use the same word. The current highlighting rules cannot distinguish whether it is the parameter or the radical and then use the correct coloring.The code below is an example.
So in this case, only one coloring of the word weather will be applied.
So I would like to ask if it is possible to develop two new attributes to determine the characters that need to appear at the beginning and end, and then use the current begin and end as attributes to perform coloring?
Beta Was this translation helpful? Give feedback.
All reactions