Insolence Posted January 30, 2004 Share Posted January 30, 2004 Would someone be able to make a program to indent autoit source? Read the first char, if its for, indent the next line 1 more time then previous, if its endfor subtract an indent... Just wondering "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
CyberSlug Posted January 30, 2004 Share Posted January 30, 2004 (edited) Um, why not just use a text editor (especially one that supports regular expressions) such as TextPad....Find the next "For" statement, highligh code up to "Next" and hit the tab key. Repeat.(Let me know if you want more details) Edited January 30, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Insolence Posted January 30, 2004 Author Share Posted January 30, 2004 Wow, that program can indent every code highlighted? I had no idea. Nevermind, i was just thinking about how annoying it was to do with winsyntax. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now