Jump to content

Funny Idea..


Recommended Posts

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 :whistle:

"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

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 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...