Only one Syntax Editor Macro usable per editor?

Tobias Persson_
Tera Expert

Hey all!

 

We're currently running on Utah release. I have defined some macros in System Definitions > Syntax Editor Macros. But when I want to execute them only one works. As soon as I try to do a second macro the macro doesn't show up in Intellisense and after hitting tab it just inserts a tab but not the macro.

 

As an example: if I enter "for" and hit tab I get the for loop inserted. But if I then want to use "vargr" + tab before that loop it only writes "vargr" followed by a tab. Nothing is replaced.

 

Any idea what's wrong here?

 

Regards,

Tobias

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Tobias Persson_ ,

The issue seems to be addressed in PRB1645468: Code editor / Syntax editor is not loading correctly when Polaris is enabled

 

The fix target is Utah patch 4

Please try the following workaround:

1. Add the system property 'glide.ui.syntax_editor.polaris' and set its value to 'false'.
2. Clear the instance cache [cache.do]

OR

Set the value of the system property "glide.ui.escape_all_script" to 'true'.

 

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

Yes indeed !! Fingers crossed 😁@Tobias Persson_