BugTrapper Posted July 27, 2018 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted July 27, 2018 Share Posted July 27, 2018 Hi, Use UniSyntaxEditEx instead And try: UniSyntaxEditEx1.JSInterface.JSCall('codeEditor.setCursor', [100]); Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted July 27, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
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.