Forum Discussion

SuperTester's avatar
SuperTester
Contributor
3 years ago
Solved

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?

 

 

Thanks!

  • 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.

1 Reply

  • 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.