topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 10:16 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: AutoHotKey Tidy or equivalent?  (Read 7832 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
AutoHotKey Tidy or equivalent?
« on: August 05, 2009, 04:08 PM »
Right now I'm using Scite4AutoHotKey but I'm wondering if anyone knows of another free editor esp. one that has "Tidy" or equivalent for autoindent and syntax checking. Not to start a favorite editor war, but what are people using for AHK?


Perry Mowbray

  • N.A.N.Y. Organizer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,817
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #1 on: August 06, 2009, 05:50 AM »
I use PSPad and I can be pretty untidy  :-[

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #2 on: August 06, 2009, 05:54 AM »
http://www.autohotke...forum/topic7810.html

For the record, I use PSPad as well.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #3 on: August 06, 2009, 12:49 PM »
That ahk tidy script looks like it will do the trick.  :Thmbsup:

Not to start an editor feature war, but does it seem weird to anyone else that an editor doesn't have a hotkey to delete a line?  Or if it does, it's not documented? You sort of have to trial and error the thing.  In Scite based it seems like Control-L will delete a line like in MS Visual Studio, but I haven't found the secret in PsPad yet(I use that mostly for my web stuff.)  I've been selecting a line with Shift-End, then deleting with the Del key.  Is there an Easter Egg to just delete the line in one go?

Thanks guys.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #4 on: August 06, 2009, 03:09 PM »
I've been using it for so long that I don't recall the default hotkey but you can change all that here:

Settings, Program Settings, Key Map, Editor, DeleteLine

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #5 on: August 06, 2009, 09:28 PM »
Thanks skwire. :)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #6 on: August 06, 2009, 11:27 PM »
Vim :) There is a syntax file for Ahk as well. I am sure you can use one of the language files for Ahk indenting.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #7 on: August 06, 2009, 11:48 PM »
I've been selecting a line with Shift-End, then deleting with the Del key.  Is there an Easter Egg to just delete the line in one go?

the default hotkey to delete current line is Ctrl+Y. yes, i too use PSPad.. 8)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #8 on: August 07, 2009, 02:47 PM »
The PsPad developer must be a Delphi enthusiast.  They usually do ^Y.  I should have thought to try it.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: AutoHotKey Tidy or equivalent?
« Reply #9 on: August 07, 2009, 02:48 PM »
Vim :) There is a syntax file for Ahk as well. I am sure you can use one of the language files for Ahk indenting.

I have to take a look at vim. When I was playing with Linux I tried vi just enough to see that it would be very powerful, once I quit ripping my hair out. :)