mika Posted August 15, 2017 Share Posted August 15, 2017 Is it possible to enable auto indentation in TUniSyntaxEdit? Out software relies heavily on scripts and writing scripts is more difficult and time consuming because user has to manually indent code. We don't need any "smart" features but basic identation so that caret will be positioned at same column as previous line when user presses enter. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 16, 2017 Share Posted August 16, 2017 Hi, Sorry, can you explain a bit more, which language are you using ?! Best regards, Quote Link to comment Share on other sites More sharing options...
mika Posted August 16, 2017 Author Share Posted August 16, 2017 I'm using pascal as script language. Consider this example: begin ShowMessage('Test'); // When pressing enter here, caret will go... |...here |...instead of here end. I hope you understand what i'm trying to say here. I'm not very good at explaining this :P Sorry. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 17, 2017 Share Posted August 17, 2017 Hi, Have you tried to use UniSyntaxEditEx too ?! Best regards, Quote Link to comment Share on other sites More sharing options...
mika Posted August 17, 2017 Author Share Posted August 17, 2017 Hi, Have you tried to use UniSyntaxEditEx too ?! Best regards, No I haven't. I didn't realise that there is another control to use. I tried it but i get an error: Mismatched anonymous define() module: [object Object] http://requirejs.org/docs/errors.html#mismatch I haven't updated uniGUI for the past month or two so it might be something that would correct itself by updating. I'll try to solve this tomorrow morning. 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.