| View previous topic :: View next topic |
| Author |
Message |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sat Oct 30, 2004 10:12 am Post subject: basic AHK editor |
|
|
i made a very basic editor with ahk
i had fun scriptin it i still have to do syntax hiliting for it but just thought i would post it
i'm not sure if i can hotlink but lets try it
nope cant hotlink hahah
http://sleepys-sin.tripod.com/Seditor/html _________________ ^sleepy^ |
|
| Back to top |
|
 |
Tekl
Joined: 24 Sep 2004 Posts: 813 Location: Germany
|
Posted: Sat Oct 30, 2004 11:22 am Post subject: |
|
|
Hi,
what does it have, what others don't have?
Tekl
Last edited by Tekl on Sat Oct 30, 2004 3:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Oct 30, 2004 11:28 am Post subject: |
|
|
nothing lol
it was just the fact that i use autohotkey to script it
it was just a fun kinda thing  |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sat Oct 30, 2004 11:38 am Post subject: |
|
|
opps sorry forgot to log in its very basic and cant stand up to other editors but i thought seeing it was all programed in AHK it would be kinda cool to have kicking around lol
^sleepy^ _________________ ^sleepy^ |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Oct 30, 2004 1:46 pm Post subject: |
|
|
Looks nice. The "Run" button doesn't work on my system, apparently because there is an extra space inside the file path for the temp script.
To speed up the process of writing the temp script, you might want to add "SetBatchLines -1" at the top (if you haven't already).
Thanks for making the first natively written script editor  |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sat Oct 30, 2004 6:27 pm Post subject: |
|
|
thanx for the feedback yes there was a extra space inside the file path
and i forgot to set the Set Batch Lines thanx for Bringing that to my attenchion
i updated it and i hope evrything works now
http://sleepys-sin.tripod.com/Seditor/html _________________ ^sleepy^ |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Sun Oct 31, 2004 7:35 pm Post subject: |
|
|
Hey, thats cool.
I have also made a AHK generator script of my own some time ago. Here are the download links:

Last edited by Titan on Mon Nov 15, 2004 1:48 pm; edited 10 times in total |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sun Oct 31, 2004 7:47 pm Post subject: |
|
|
hey thats kool Titan thanx for sharing it
i like the menus i did not know we had menus to use  _________________ ^sleepy^ |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Sun Oct 31, 2004 10:05 pm Post subject: |
|
|
Ok, I've just updated it. I've adopted your layout
(Note: Open doesn't work yet lol)
Any ideas Chris (other than syntax colouring and code refrence)? _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Last edited by Titan on Sun Oct 31, 2004 10:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sun Oct 31, 2004 10:14 pm Post subject: |
|
|
my geuss would be to just keep it simple and easy ahk is simple and easy
and thats ok about the layout glad to help lol _________________ ^sleepy^ |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Sun Oct 31, 2004 10:25 pm Post subject: |
|
|
AHK is easy correct but using Notepad gets annoying. I'm looking at my Dreamweaver MX (code view) and I'm trying to adopt those styles to (hopefully) make ahk coding easier for everyone. _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Sun Oct 31, 2004 10:33 pm Post subject: |
|
|
yes i agree Notepad gets annoying i'm not to sure ahk ppl are useing
Notepad that would be a good poll to ahve there is so meny editors out there that are freeware .
you can only go so far with ahk when creating a editor but its kool to play with and thats a good thing your doing to make it easy for evryone _________________ ^sleepy^ |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Sun Oct 31, 2004 10:56 pm Post subject: |
|
|
| sleepyy35 wrote: | yes i agree Notepad gets annoying i'm not to sure ahk ppl are useing
Notepad that would be a good poll to ahve there is so meny editors out there that are freeware . |
There are other freeware editors for ahk, so I'm the only one using Notepad lol ?!
I never knew this, I'd appreciate it if you gave me some links  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Nov 01, 2004 1:00 am Post subject: |
|
|
| Quote: | Notepad2 1.0.12 [242K] [Download]
Could you please explain how to add or modify syntax schemes?
This requires modification of the Notepad2 source code. [166K] [Download]
The Scintilla documentation has an overview of syntax highlighting, and how to write your own lexer, in case the language you'd like to add is not supported by Scintilla.
The structures relevant to syntax highlighting can be found in Styles.c of the Notepad2 source code. Add your own structures to the global pLexArray, then adjust NUMLEXERS to the total number of syntax schemes. The style definitions can be found in SciLexer.h of the Scintilla source code.
Include the Lex*.cxx files from Scintilla required for your languages in your project and follow the instructions in Readme.txt to rebuild Notepad2. I recommend using Visual Studio .NET 7 or above. |
Yep, something a geek should have a look @. Once done, you've created a native AHK-Editor (and btw. to provide that Lexer to the "Scintilla familly" would definitely spread the word about AHK)  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Nov 01, 2004 1:04 am Post subject: |
|
|
| Quote: | | Any ideas Chris (other than syntax colouring and code refrence)? | Unless you're willing to spend a lot of time on it, writing an editor from scratch seems like overkill. And certainly trying to do it as an AHK script is going to severely limit your options and performance. For example, 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).
| Quote: | There are other freeware editors for ahk, so I'm the only one using Notepad lol ?!
I never knew this, I'd appreciate it if you gave me some links | Though I haven't yet starting using it myself, PSPad seems like a good freeware editor, and beardboy was kind enough to make a syntax file and clip library for it (available in the AutoHotkey\Extras folder). I've also heard good things about SciTE.
| BoBo wrote: | | to provide that Lexer to the "Scintilla familly" | That would be nice to have someday. |
|
| Back to top |
|
 |
|