Ask a Question

Custom Keyword Highligting

SOLVED
SuperTester
Contributor

Custom Keyword Highligting

Hey guys,

 

Is it possible to add commands to the User Keywords list in Options > Panels> Code Editor?

 

I'd like to highlight the arguments and Error commands in the code editor similar to other keywords such as throw or even Alias. Is there a way to do that?

 

kahle_0-1624035797440.png

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
SuperTester
Contributor

Re: Custom Keyword Highligting

Hello,

 

So I think I answered my own question. While customizing font colors for text would be cool, its not really necessary.

 

One thing I realized after reading javascript is that  .arguments is actually a property of a function "object". As useful of a property as it is, theres not really a purpose for customizing text of a property.

 

As for the Error() method, I believe that is a method that acts on a error object. Again, very little reason to customize a method declaration.

 

I'll see if I can give myself a kudo.

View solution in original post

1 REPLY 1
SuperTester
Contributor

Re: Custom Keyword Highligting

Hello,

 

So I think I answered my own question. While customizing font colors for text would be cool, its not really necessary.

 

One thing I realized after reading javascript is that  .arguments is actually a property of a function "object". As useful of a property as it is, theres not really a purpose for customizing text of a property.

 

As for the Error() method, I believe that is a method that acts on a error object. Again, very little reason to customize a method declaration.

 

I'll see if I can give myself a kudo.

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: