AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

basic AHK editor
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Nov 01, 2004 1:38 am    Post subject: Reply with quote

Chris wrote:
beardboy was kind enough to make a syntax file and clip library for it (available in the AutoHotkey\Extras folder).


Where can I find this exactly?
Back to top
Titan



Joined: 11 Aug 2004
Posts: 5026
Location: imaginationland

PostPosted: Mon Nov 01, 2004 2:42 am    Post subject: Reply with quote

Chris wrote:
I don't think there's any way to change the color of individual words in a plain Edit control (maybe in a RichEdit control, which isn't yet an option).


Thanks for telling me before I started looking into it lol. Until RichEdit comes out I guess my editor is going to be like how it is I guess.

I've looked at PSPad and Notepad2, looks interesting.
Back to top
View user's profile Send private message Visit poster's website
sleepyy35



Joined: 22 Jul 2004
Posts: 194
Location: cedar city UT

PostPosted: Mon Nov 01, 2004 2:50 am    Post subject: Reply with quote

here is somemore editors that are kool i think

heres a list

http://users.hol.gr/~dck/g4c/res/editors.htm Razz
_________________
^sleepy^
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
exhueydriver



Joined: 12 Jul 2004
Posts: 51
Location: Fife,Wa

PostPosted: Mon Nov 01, 2004 5:16 am    Post subject: Reply with quote

OK, I needed a NotePad replacement, so I got PSpad, since beardboy
went to the trouble of writing the *.ini & *.def files (Thanks, BB), but I
can't get PSpad to add AHK to its' list of Syntax's. I copied both files
from the Extras folder(BTW, why do I have *2* of those, one regular,
one with a (2) after it?), into the PSpad "Context" and "Syntax" folders,
(I just looked for other files in those folders that had the same extension),
and even after a re-start, it doesn't show up. Is there something I'm missing?
Any help, as always, will be greatly appreciated.
Don
Back to top
View user's profile Send private message
Atomhrt



Joined: 02 Sep 2004
Posts: 128
Location: Sunnyvale

PostPosted: Mon Nov 01, 2004 5:29 am    Post subject: Reply with quote

sleepyy35 wrote:
here is somemore editors that are kool i think

heres a list

http://users.hol.gr/~dck/g4c/res/editors.htm Razz


I have used Jedit a lot. It has quite a few handy plugins and themes that allow you to change the look. Plus, a quick-launch feature.
_________________
I am he of whom he speaks!
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Nov 01, 2004 12:51 pm    Post subject: Reply with quote

Quote:
Where can I find this exactly?
There's a shortcut to it in the Start Menu -> AutoHotkey\Extras

Quote:
but I can't get PSpad to add AHK to its' list of Syntax's. I copied both files from the Extras folder(BTW, why do I have *2* of those, one regular, one with a (2) after it?), into the PSpad "Context" and "Syntax" folders, (I just looked for other files in those folders that had the same extension), and even after a re-start, it doesn't show up. Is there something I'm missing?
I'm not sure if these are the best steps, but it's what I did:
Put the .def file into PSPad\Context
Put the .ini file into PSPad\Syntax

In menu: Settings >> Highlighter Settings: Select the General item near the bottom on the left. Now the user highlighters list near the right side should become enabled and you can select AutoHotkey.

I think the open file must have a .ahk extension for the highlighting to kick in. In addition, to use the clip library, press Ctrl-Space while editing.
Back to top
View user's profile Send private message Send e-mail
exhueydriver



Joined: 12 Jul 2004
Posts: 51
Location: Fife,Wa

PostPosted: Mon Nov 01, 2004 5:06 pm    Post subject: Reply with quote

"In menu: Settings >> Highlighter Settings: Select the General item near the bottom on the left. Now the user highlighters list near the right side should become enabled and you can select AutoHotkey. "

This worked, then you have to click on the "PAS\BAS button in the toolbar,
and AHK is now there.
Thanks,
Don
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Tue Nov 02, 2004 2:00 pm    Post subject: Reply with quote

though got late, but i tried it and its nice.... richedit, whenever available, will make it a lot better.
_________________
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5026
Location: imaginationland

PostPosted: Fri Nov 05, 2004 3:48 pm    Post subject: Reply with quote

Anybody want to look at my editor and give feedback?


Alternate download link


Last edited by Titan on Sat Nov 06, 2004 2:30 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
sleepyy35



Joined: 22 Jul 2004
Posts: 194
Location: cedar city UT

PostPosted: Fri Nov 05, 2004 5:37 pm    Post subject: Reply with quote

nice job Titan
when i click on install syntax the help file loads
so i'm thinking you forgot a return under that button Question Question
_________________
^sleepy^
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Wingfat



Joined: 23 Aug 2004
Posts: 193
Location: East Bay, California USA

PostPosted: Fri Nov 05, 2004 5:45 pm    Post subject: Reply with quote

Titan,
Nice job, i like the feel of it.
Can the links open a new browser and not take over my last open one?
Are there any color enhancements that you are going to add?
ex:
Send Commands would be in Red
Hot Keys listed in orange
that type of thing? i know there are other editors out there like that, but one designed just for AHK would be awesome.
_________________
----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Nov 05, 2004 11:57 pm    Post subject: Reply with quote

Quote:
Anybody want to look at my editor and give feedback?
Great improvements, such as the sample scripts and the "Run Script" button. I wish AutoHotkey had more to offer you in terms of features. As it stands now, your hands are pretty well tied to using a plain edit control, which prevents syntax highlighting and such.
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5026
Location: imaginationland

PostPosted: Sat Nov 06, 2004 12:58 am    Post subject: Reply with quote

sleepyy35 wrote:
when i click on install syntax the help file loads

No, for now this is meant to happen so users can refer to the help file for the syntaxes and such lol Razz

Wingfat wrote:
Are there any color enhancements that you are going to add?
Can the links open a new browser and not take over my last open one?

I would like to do this but as Chris told me, this isn't possible because there isn't a Richedit on AHK. So for now Syntax colouring can't be done soz.
This has been talked about before (a syntax for a new browser or something like that) but it doesn't seem that there is a roundabout soloution. Internet Explorer isn't in the %SystemRoot% so I couldn't even do a:

Run, IE.exe
Run, http:// ...

Chris wrote:
As it stands now, your hands are pretty well tied to using a plain edit control, which prevents syntax highlighting and such.

I suppose so, come to think of it syntax colouring and tooltips would be really hard and a long project. But I might have a bash when the oppertunety comes along anyway thanks.

Erm, I done an update to include an option to clean temporary made files (which can sometimes be really big depending on what you're doing). Also fixed some typos, alot of typos lol.
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Fri Nov 12, 2004 3:31 am    Post subject: Reply with quote

i checked out both editors (yours and Titan's) ... very nice work! if developed more i'm sure they can sure beat some others.

there's one thing that every code editor should have, fixedys fonts... like maybe courier.
_________________
Back to top
View user's profile Send private message
sleepyy35



Joined: 22 Jul 2004
Posts: 194
Location: cedar city UT

PostPosted: Fri Nov 12, 2004 10:44 am    Post subject: Reply with quote

thanx for the input Rajat Smile
_________________
^sleepy^
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group