BugTrapper Posted July 27, 2018 Posted July 27, 2018 I tried like this: UniSession.AddJS(UniSyntaxEdit1.JSName + '.codeEditor.editor.setCursor(100)'); // I want to jump to line 100 , but there always pops up an ajax error: 'O11.codeEditor is not defined' Any suggestions ? Quote
Sherzod Posted July 27, 2018 Posted July 27, 2018 Hi, Use UniSyntaxEditEx instead And try: UniSyntaxEditEx1.JSInterface.JSCall('codeEditor.setCursor', [100]); Quote
BugTrapper Posted July 27, 2018 Author Posted July 27, 2018 Many, many thanks, I did try a lot with TUniSyntaxEdit and it didn't work, so I really have to use TUniSyntaxEditEx (where from should I know that ??) Thx in advance, Buggie ) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.