- Posted by
- Wow thank you very much for your help Mofi! I was guessing it's not possible to edit comment add/remove behavior since I searched in options with no luck. I'll try your script and let you know if there is any issue with it, I use last version of UE so it should work well. Thanks again for your much ...Posted in Syntax Highlighting
-   Topics
-   Views
- donkeypunch.50ae
Sep 04, 2021
- Hi everyone! I'm looking for a way to keep indentation with comments. I mean that when I comment a line with add / remove command shortcut, then comment start at the right indentation instead of the beginning of the line for better readability. I experimented a bit with wordfile but I had no luck. I...Posted in Syntax Highlighting
-   Topics
-   Views
- donkeypunch.50ae
Sep 03, 2021
- Awesome, it works like a charm! Thank you Mofi! With your macro, I just had to tweak the wordfile to have indents at right place: /Indent Strings = "{" "do" "else" "elseif" "function" "if" /Unindent Strings = "}" "else" "elseif" "end" Before: function Hud:AddCenterMessage(text,time) self.centermessa...Posted in Macros
-   Topics
-   Views
- donkeypunch.50ae
Jan 23, 2018
- Hi everyone! I am searching for a method to reformat a whole LUA script file. What I want to do is delete all unused spaces/tabs in file and automatically add or remove tab indentation to make the script more easily readable. What I have in mind is that when I select a whole script, I can clean it b...Posted in Macros
-   Topics
-   Views
- donkeypunch.50ae
Jan 21, 2018