AutoHotkey Community

It is currently May 27th, 2012, 11:06 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 240 posts ]  Go to page 1, 2, 3, 4, 5 ... 16  Next

Do you want HiEdit internaly
Yes
No, I like Edit control
Other (please explain)
You may select 1 option

View results
Author Message
PostPosted: May 12th, 2007, 3:30 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade

_________________
Image


Last edited by majkinetor on December 12th, 2010, 4:18 pm, edited 62 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:15 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I voted "no" in the poll because building this into AutoHotkey would increase the size of all compiled scripts by ~40KB. Even if it were omitted from compiled scripts, I wouldn't want its code in AutoHotkey.exe because it'd increase the memory used by every script (even when never called). Furthermore, AutoHotkey.exe becomes slower to launch as its file size grows.

To bring your work the attention it deserves, I've linked to it from the Edit control section:
Quote:
A more powerful edit control: HiEdit is a free multitabbed, ultra fast, large file edit control consuming very little memory. It can edit both text and binary files. For details and a demonstration, see http://www.autohotkey.com/forum/topic19141.html


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:20 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
We are talking here about several KB's.

I hope you are aware that AHK needs better text controls.
Benefits of this control, IMO, are multiple times bigger then drabacks.

Anyway, I beleive that in VISTA times, memory that we are talking about here is trivialy low. I also think you didn't check memory usage of HiEdit. TaskInfo here shows no difference when I run above basic script with and without HiEdit.

_________________
Image


Last edited by majkinetor on May 12th, 2007, 4:28 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:27 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Do you happen to know HiEdit's license? I assume it's free, at least for noncommercial use, because I couldn't find any info to the contrary.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:32 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Yes, its free. I can ask author for more details if you like

I already asked him if he would have something to object about it being added in AHK and he said "not at all".

You should also recognise this man as one of the rare developers programing in ASM today for the sake of extreme optimisation.

You can see here our conversation

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:39 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks. By the way, when stdlib gets implemented (hopefully soon), this could be distributed with AutoHotkey as an external DLL with your API and documentation (if you wish).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:41 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Well, that is one alternative (the bad one :D )

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:44 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
It was just an idea. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:47 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Oh, good :D
I was afraid it is final decision :)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:51 pm 
Offline

Joined: July 24th, 2005, 4:29 am
Posts: 27
Location: Rheinland
What box do I need to have performance problems with AHK? I am even running AHK on an antique PII 333. ;)
I start AHK and swoosh – it's there, just like magic. What amount of performance degree we are talking about?

Well, I agree with majki. HiEditor rocks, so many advantages which are worth the downsides.

Including this control as an "alternative" doesn't sound too good to me, I would prefer to have this one by default and the present one as an alternative (or dumped because two documentations are confusing).

My two cents! :)

Icfu


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 4:53 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
I promise I will do AHK developer with debuging with this control, if you add it internaly. You know you said you will provide debuging commands once somebody is willing to abuse them... well after that, I am searching for good edit control ... so here it is. :D

I can imagine even nastier consequences, like integration of above with SGUI for ultimate IDE.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 5:09 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
I voted Other, because I never had the need for such an edit control in AHK. I can always fire up Notepad or WordPad, if needed. They are standard Windows tools. If you need a better editor, there are many choices, and most of them can be controlled by an AHK script.

The added 50KB is not much by itself, but there are many controls even more useful, which could be included. Any nonstandard control (not in Windows) is better distributed in a library. It is not clear that a library (loaded only when needed) is considered internal AHK feature, or not. (I did not want to vote NO, because I don't like the standard edit control, but for short user I/O it is sufficient, and it does not consume extra memory.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 5:13 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
I can always fire up Notepad or WordPad, if needed.

You can even use Edit in console if you like :lol: :roll:

The fact is that even Windows itself has better text controls internaly (RichEdit). Why they didn't to stick with Notepad?

So, the above means, that more complex Edit control (RichEdit in this case) is absolute minimum for programing environment, as OS'es by rules, always implement only what is abolutely neccessary, leaving higher abstractions to 3th party frameworks.

Laszlo wrote:
, but there are many controls even more useful, which could be included

Can you point at some ? Or you just talk in general ?

I don't think that you can find me control that is so optimsed, so unversaly needed, so missing in AHK ... as HiEdit.

Of course, you can always provide links for 20 useful 40KB large, developed in ASM according to OS standards, controls to make your point stand.

I am waiting for the links :)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 5:27 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
majkinetor wrote:
You can even use Edit in console if you like...
The fact is that even WIndows itself has better text controls internaly (RichEdit). Maybe they just had to stick with Notepad.
I don't mean HiEdit is not cool, but I have to distribute it with my compiled scripts. If it is in AHK, all the scripts, which don't use it get bloated. Using RichEdit costs next to nothing and users normally know, how to use it.

I don't know a good application of HiEdit. Do I ask the user to enter his favorite poem or write an essay or an AHK script? If I need complicated text editing I always fire up MS Word and cut and paste text to the desired place. This way I have spell checker in many languages, autocorrect, all of my text entry settings, column selection, tables, etc. But it is very rare that someone needs these from an AHK script.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2007, 5:34 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
majkinetor wrote:
I am waiting for the links :)
A few examples are: New controls on GUI windows (Buttons, Statics, HMTL, RTF...), or Graphing Dll - RMChart.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug, Yahoo [Bot] and 56 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