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 

[module] HiEdit 4.0.0.4-5
Goto page 1, 2, 3 ... 11, 12, 13  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  

Do you want HiEdit internaly
Yes
52%
 52%  [ 37 ]
No, I like Edit control
27%
 27%  [ 19 ]
Other (please explain)
20%
 20%  [ 14 ]
Total Votes : 70

Author Message
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 2:30 pm    Post subject: [module] HiEdit 4.0.0.4-5 Reply with quote


_________________


Last edited by majkinetor on Wed Jan 13, 2010 10:30 am; edited 57 times in total
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Sat May 12, 2007 3:15 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 3:20 pm    Post subject: Reply with quote

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.
_________________


Last edited by majkinetor on Sat May 12, 2007 3:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Sat May 12, 2007 3:27 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 3:32 pm    Post subject: Reply with quote

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
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Sat May 12, 2007 3:39 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message Send e-mail
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 3:41 pm    Post subject: Reply with quote

Well, that is one alternative (the bad one Very Happy )
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Sat May 12, 2007 3:44 pm    Post subject: Reply with quote

It was just an idea. Smile
Back to top
View user's profile Send private message Send e-mail
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 3:47 pm    Post subject: Reply with quote

Oh, good Very Happy
I was afraid it is final decision Smile
_________________
Back to top
View user's profile Send private message
Icfu



Joined: 24 Jul 2005
Posts: 27
Location: Rheinland

PostPosted: Sat May 12, 2007 3:51 pm    Post subject: Reply with quote

What box do I need to have performance problems with AHK? I am even running AHK on an antique PII 333. Wink
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! Smile

Icfu
Back to top
View user's profile Send private message Send e-mail
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 3:53 pm    Post subject: Reply with quote

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. Very Happy

I can imagine even nastier consequences, like integration of above with SGUI for ultimate IDE.
_________________
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4474
Location: Boulder, CO

PostPosted: Sat May 12, 2007 4:09 pm    Post subject: Reply with quote

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.)
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4055
Location: Belgrade

PostPosted: Sat May 12, 2007 4:13 pm    Post subject: Reply with quote

Quote:
I can always fire up Notepad or WordPad, if needed.

You can even use Edit in console if you like Laughing Rolling Eyes

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 Smile
_________________
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4474
Location: Boulder, CO

PostPosted: Sat May 12, 2007 4:27 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4474
Location: Boulder, CO

PostPosted: Sat May 12, 2007 4:34 pm    Post subject: Reply with quote

majkinetor wrote:
I am waiting for the links Smile
A few examples are: New controls on GUI windows (Buttons, Statics, HMTL, RTF...), or Graphing Dll - RMChart.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3 ... 11, 12, 13  Next
Page 1 of 13

 
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