AutoHotkey Community

It is currently May 27th, 2012, 10:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

What do You think about this editor?
Keep working on it
There are already enough Editors available - Skip it
I'd like to contribute and make this a standard highly customizible and feature rich Editor for ahk and other things..
Develop it until, you can say You're done, I'll see then
You may select 1 option

View results
Author Message
PostPosted: November 26th, 2007, 5:31 pm 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
    Welcome to TheAHKpad 0.0.9.14

    IMPORTANT: Version 0.0.9.14 includes English as standard interface language and has the Options menu to change languages - currently only German and English available

    Below is a link to TheAHKPad i am working with and on right now. It is far from being done yet - still much room for improvement. There are still bugs in the code and things to do (like the MDI), some interface fixups and more Bugfixing - (Search 'n' replace to name just one...)

Image

Image
    But nonetheless, it gives an good impression. Here it is (a compiled exe to include all neccessary files)
    http://www.autohotkey.net/~DerRaphael/TheAHKpad.exe

    A Quick Overview for the most common features:

    WARNiNG: The single replace function relies on the search function - So when you want to Replace step by step, forget about it. It's NOT working, since the search function somehow looses count of the current search line.
    However the replace all function, works as expected

      - CTRL+, make a selection completly a comment by inserting a semicolon as first char
      - CTRL+SHIF+, removes a leading semicolon from selection
      - When editing an HTML-File, hitting F12 gives you a preview in the Browse Tab atop the edit window, pressing F12 again, brings you back. Though a location bar is included, surfing with it is not desirable, the navigation is just relying on your mouse device, keyboard navigation isn't working in this mode. In other cases hitting F12, for example when editing an ahk-script, it simply renames the File to ~currentFileName.ext and executes it by the run command
      - The tabs in the bottom ain't fully functionally yet; CTRL+F4 closes each one, but doesn't bring You back to the previous document. Clicking with the right mouse button and selecting reload will work though
      - You may turn off the Directory/Files view, pressing SHIFT+F9 toggles its visibility
      - When you save a file, your previously saved file will be moved to Name.ext~ Additionaly every 5 minutes, an automatically saved file will be generated from the current one. The previously saved file is accessible by selecting File revert from File menu
      - ALT+LEFT Intends a selected with a sinlgle tab
      - ALT+RIGHT just removes either one leading space or tab from selection

    the auto complete feature for ahk syntax, inlinehelp, and autocomplete for words in the documents is off (there are still some bugs lurking in there, thats why)

    Finally: Thanks to all who solved problems i never knew i'm gonna have. A list to all Contributors will be available soon ...


Greets
DerRaphael


Last edited by derRaphael on November 28th, 2007, 7:02 pm, edited 5 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 5:58 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Looks nice. Would you be willing to share the code? Thanks.

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 6:06 pm 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
when the projects done, so that others besides me can learn from - not just see my mess, i coded (~2500 lines so far) ill make the source public - like in public public - for everybody

till then, ill do so only at personal request

@daonlyfreez Wanna have it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 9:10 pm 
DerRaphael wrote:
what definitly will come some day - whenever i master the f*****g REditControl my way is syntax highlighting
If you're looking to do syntax highlighting, you might want to look at HiEdit. Maybe easier to use than parsing everything yourself with richedit. Also has line number built in the control, so you won't have to have the static control next to the edit box.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 9:22 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Thanx :wink:

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 9:25 pm 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
the thing is i wanted it as pure windows / ahk as possible
hEdit is as far as i know 'external'
still great control, though :)

but using it, i'd never have learned bout some messages to find out whats my topmost line, and whats my font what are my textmetrics etc ...

what about collapsed text?

also i believe, i can add hEdit with tabs, but nested tabs?
well then final decisions are not made yet...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2007, 9:30 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
A little tip: save your screenshots in PNG format.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 28th, 2007, 1:15 am 
Monsterprojekt! Braucht nen langen Atem. Viel Glück :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2007, 1:28 am 
Offline

Joined: July 16th, 2005, 11:39 am
Posts: 96
This editor has great potential. Once the bugs get worked out, this may become my primary editor. Please keep up the development.
I like the uncluttered interface, and nice touches like the commenting/uncommenting hotkeys.

A possible bug I just noticed:
I had the script running as I was typing this reply. My Enter key wouldn't function.

_________________
“yields falsehood when preceded by its quotation” yields falsehood when preceded by its quotation.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2007, 2:00 am 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
Thank you for your Interest. :)

Actually this is a bug, due to the way, i used to get that AutoIntend working,
For instance, i made the Enter key, just a Hotkey responding only unter certain circumstences. (It also has to be a sort of Punch Through Key, while some auto complete menu pops up, just to NOT make a linebreak in the Text, while selecting) Same with Arrow Keys.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2007, 9:55 pm 
add #IfWinActive TheAHKPad to the top of the script. It will make it so the hotkeys only work inside the ahkpad window and not interfere with other apps.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 2nd, 2007, 6:27 am 
Offline

Joined: July 3rd, 2004, 1:03 pm
Posts: 121
I thought a good AHK editor was AutoHotkey Studio, but Titan is no longer developing it http://www.autohotkey.com/forum/viewtop ... sc&start=0

To me the trick for a great editor is that it has a user configured tool menu. Allowing to quickly access: script compiler, decompiler, AU3_SPY/Window Info (AHK), Autoscriptwriter/AHKscriptwriter (hahaha), AutoHotkey Help, Intelisense, smartgui, etc...

Something easy to create hotkeys in the menu and show the user tools in the menu is why I always liked Crimson Editor (now http://www.emeraldeditor.com/ , but development of the new one is very slow) and EditPlus. It is also why I thought SciTE4AutoIt3 was such a killer, the way AutoIt did it was to put an easy to get started and very powerful pre-packaged set of tools and AutoIt scripts for new and experienced script writers.

Its not just about the editor and language syntax, but the easy access to tools to help create, modify, and test scripts.

The editor could be a centralized and pre-packaged set of tools, in which you could get a lot of work done and has hotkey links to other scripts, instead of searching around.

The advantage in making an AHK editor is:

. Users could modify and keep adding features.

. They would not have to know some other scripting or programing language to make changes.

. They could add other AutoHotkey scripts to it.

Note- but if the author closes the source, than that takes away various advantages.

. They would not have to pay for an editor.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2007, 7:17 am 
Offline

Joined: November 23rd, 2007, 10:23 am
Posts: 841
Location: ~/.
dear AHKnow,

your ideas concerning an ahk editor meet my own ideas - especially the high-customization-level. but what i also wanted is to make an editor to code html and php with it. therefore a help for html tags or for php (via selfHTML or php.net or selfPHP) is to be included or at least an easy access to these resources. Wihle coding HTML, I found it extremely helpful having a 'Tag-Insight' feature, which gives you syntax dependant additional attributes for the tag your writing on.
Also a project manager and some version control via diff are on the ideas list. Including 'external' utilities, like tidy for HTML or AHKspecific Tools like compile, test, smartGui etc will be done in near future.

Right now I am building a multilevel undo for edit control. Next thing will be a fixup for the multitab feat.

There are many things on my todo list.

As I mentioned before, I closed source because right now, at least while getting the basic settings for theAHKpad running, the source is heavy morphing. It changes quickly with each new release. as soon, as I have the source fixed in a way it wont get modified completely I'll release source code so people will be abled to customize the editor at their needs.

Till then, I'll appreciate any ideas and comments for this project.

Thank you for taking time

DerRaphael


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 30th, 2007, 4:25 am 
Offline

Joined: October 28th, 2006, 2:14 am
Posts: 297
Location: US
:shock:

Amazing, I was looking around the forum at some interesting stuff and this is really nice, just thought I'd bump the thread and say keep up the good work :D

_________________
Changed siggy at request of ahklerner :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2007, 3:16 am 
Offline

Joined: March 24th, 2004, 2:34 pm
Posts: 299
In your poll questions, you acknowledge that there are many existing editors. So, I would think the natural question that comes to mind is what you intend to offer that existing editors do not?

Certainly one such offering would be anything that could be linked somehow to AHK. For instance, the user's ability to include and use their own script files. That would seem to be a natural, don't you think? Besides, although some editors may offer a small scripting language (for example, NoteTab Light does offer such a thing), it always seemed to me to be a waste of time to learn someone else's scripting language if it was not Open Source so that you could not make improvements to the language yourself. Of course, with AHK, there is a large existing user base. So, there are many existing benefits associated with letting people use the AHK scripting language with your editor. In fact, it seems to me that would be the primary attraction for your editor. Wouldn't you agree? If not, perhaps I am not understanding your intent in providing this editor.

Another possibility would be some nice advanced editor functions that are not usually included wth existing editors. The things that come to my mind are column-based operations - such as the ability to move entire columns of text to the left, right, up or down. Also, the ability to move existing text in the same way - that is to indent or remove existing columns. I find those features to be very useful and I tend to use those sorts of things very often. If you were to include those kinds of features, IMO, it would be most useful. Based on my experience, it should also be fairly easy to code. In the same vein, it is also fairly easy to change the case ot text. I find that modern freeware editors have only recently begun to offer those features. You can either highlight a string of text and change its case - or you can copy a string to the clipboard and make the changes there. The most usual kinds of case changes are to change it to upper, lower, capitalized, inverse or sentence case. NoteTab includes the ability to split and join lines which can also be very useful.

If you like, please send me a PM and I will be glad to send you links to some of the threads in this forum that discuss these issues and even contain existing AHK code to accomplish these things. You are most certainly welcome to use all or part of my code if you find it helpful.

Before doing much coding though, I would suggest you review the features of the most popular existing editors. Have you seen the site called the "46 Best-Ever Freeware Packages?" It includes a section for editors and following are the seven freeware editors they recommend as "The Best".

I do not agree with their inclusion of EditPadPro. FYI, I find that many of its best features are only included in the "payware" version and I have found problems with the freeware version. It's always a good sign if the author offers a "pure" freeware package and does not "hold back" any of the good features to include them with the payware version. Of course, they do that in order to entice people to buy the better quality version which means that the freeware version is lacking some of the better features. That shouldn't matter too much to you because, I think your primary interest lies in reviewing the features of these editors.

Anyway, here they are:

[1] http://www.editpadpro.com/editpadlite.html - Free for non-commercial use, Windows NT and later
[2] http://www.flos-freeware.ch/notepad2.html - Freeware
[3] http://www.notetab.com/ntl.php - Free for the LITE version, but they offer a payware version with some higher quality features
[4] http://notepad-plus.sourceforge.net/uk/site.htm - Open Source Freeware - no payware version
[5] http://www.pspad.com - Freeware
[6] http://www.context.cx - Freeware
[7] http://www.crimsoneditor.com - Freeware


I may be mistaken, but although EditPadPro says it is free for non-commercial use, my recollection is that only their "LITE" version is free for non-commercial use. I seem to recall that you have to send them money if you want to access their full version and judging from the freeware version, I didn't think the full version would be worth the money. I hope I am not mistaken about that.

I would recommend you look most closely at the "Open Source" freeware editors. Anyone who is willing to make their source available means that there's a good chance their source has been improved by other programmers who have worked on it. Of course, you'll need to check into that for yourself.

Some other editing features that would seem to me to be valuable to people using editors would be some control over the formatting of paragraphs. For example, being able to specify hanging or indented lines at the beginning of a paragraph. Ususally those kinds of things are only found with big, full-featured word processors, but it seems to me that it would be a nice attraction for a text editor, too.

Another feature that I find very useful is "number insertion". That is the ability to specify a sequence of numbers using a starting number and increment and then inserting those numbers into a specific column and row number either with leading zeros or leading or trailing other characters. For example, specify that you want to insert the numbers 1,005, 1,008, 1,111, 1,114, ... into columns 7 through 12 of rows 101 through 200 and you want to have the numbers appear with leading zeros where applicable and also with a comma separated number for those numbers greater than 1,000. This kind of thing comes up quite often in certain kinds of applications - such as statistical applications.

I once wrote some code to handle those routines (number insertion). They were written in Delphi, but they shouldn't be much of a problem for you to understand and translate to AHK. Once again, if you are interested in those routines, just send me a PM, and I will be happy to send you a link to a thread in this forum that explains how you can access the code.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group