 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Do you want HiEdit internaly |
| Yes |
|
45% |
[ 20 ] |
| No, I like Edit control |
|
27% |
[ 12 ] |
| Other (please explain) |
|
27% |
[ 12 ] |
|
| Total Votes : 44 |
|
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 3544 Location: Belgrade
|
Posted: Sat May 12, 2007 5:47 pm Post subject: |
|
|
| Laszlo wrote: | | A few examples are: |
Are you sure those are the controls you mention above as equaly good?
Lets just compare sizes:
HiEdit [40K]
RMChart.dll [128 KB]
Michas dll [> of AHK itself]
This makes unnecessary to compare perfomorance, its enough to say that HiEdit is in ASM, Michas.dll in MFC ( ) and RMChart in who knows.... (its easy to check, but I don't want to)
| Laszlo wrote: | | 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. |
I expect from you to be serious.
What about MS Word ? AH.. I know.. next thing is AHK will be Java, right
The fact that you don't have ideas about richer edit controls is just connected to your low imagination, not to usablity (although users writting poems in AHK is not so bad start ) _________________
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 3877 Location: Pittsburgh
|
Posted: Sat May 12, 2007 6:05 pm Post subject: |
|
|
How do you measure the goodness? Size/speed or the need or how easy is to provide the functionality otherwise? An AHK script is useful, which charts the temperature changes or stock prices, mortgage rates, interest changes or just the CPU load or memory consumption. A pie chart or a grid control is also helpful to present information collected by an AHK script or let the user select data in a more convenient way. These I would use often if they were included in AHK, but I still don't know many applications, which could be much better with a sophisticated edit control, instead of firing up WordPad, for an occasional longer text entry. I used WordPad to show longer pieces of text in Unicode. With a few lines of AHK script you can scroll it conveniently and close it when its work is done. To draw a professional looking chart hundreds of AHK commands are needed.
You can argue that these controls are larger, but they can also be simplified if ever they get into AHK. They are also better in a library, not affecting the scripts, which don't use it. |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 303 Location: Illinois
|
Posted: Sat May 12, 2007 6:07 pm Post subject: |
|
|
I like HiEdit, of course if I try using it in my own script I will fail terribly like with most DLL's I try and implement in autohotkey... Which is why I think this should be added to autohotkey. And it's just really cool  _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 3877 Location: Pittsburgh
|
Posted: Sat May 12, 2007 6:12 pm Post subject: |
|
|
| majkinetor wrote: | you don't have ideas about richer edit controls is just connected to your low imagination, not to usablity (although users writting poems in AHK is not so bad start ) | You argue that HiEdit is very useful. Provide a few examples, which would be much more complex, slower, larger or just uglier without it. Then users can decide how often they need such functionality and what price (memory, load time, file size…) they are willing to pay for it. |
|
| Back to top |
|
 |
Icfu
Joined: 24 Jul 2005 Posts: 27 Location: Rheinland
|
Posted: Sat May 12, 2007 6:16 pm Post subject: |
|
|
goodness = features * speed^2 / size
There is one hobby that all AHK users have in common:
They like typing.
Icfu _________________
 |
|
| Back to top |
|
 |
atnbueno
Joined: 24 Mar 2007 Posts: 26
|
Posted: Sat May 12, 2007 6:17 pm Post subject: |
|
|
Other, but meaning "no". Not because I like the current Edit control, but because in my (personal, modest, restricted, basic) use of AHK I've never needed anything closer to a RichEdit control. _________________ Regards,
Antonio |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3544 Location: Belgrade
|
Posted: Sat May 12, 2007 6:26 pm Post subject: |
|
|
| Laszlo wrote: | | You argue that HiEdit is very useful. Provide a few examples, which would be much more complex, slower, larger or just uglier without it. |
NO, I did my part. I have no intention to continue convicing you, and your arguments are funny for me. But you can prove yourself , try to do tabed editor in 3 lines. U can skip syn highlit for the start. Even better, try just to do line numbering in 3 lines (very useful feature)
I can provide you 10 examples out of head even when you wake me up, and Icfu provided formula which may be more appropiriate for ex math proffesor
| Laszlo wrote: | | A pie chart or a grid control is also helpful to present information collected by an AHK script or let the user select data in a more convenient way. These I would use often if they were included in AHK, but I still don't know many applications, which could be much better with a sophisticated edit control, instead of firing up WordPad, for an occasional longer text entry. |
I did a pie function, you don't need dll for that. ListView can present grid.
Sean has provided WebControl.
Corrupt has provided Image Button
The features of HiEdit control can not be added with AHK now.
RichEdit can be added, but where is it ? Everything around has rich edit. Its one of the few controls Windows has. This is perfect replacement for it. Hell, its 10 times better and faster.
| Laslzo wrote: | | You can argue that these controls are larger, but they can also be simplified if ever they get into AHK. They are also better in a library, not affecting the scripts, which don't use it. |
Theoreticaly yes. Practicaly no. WHo is going to do it ? You ?
Contrary to that, HiEdit is updated as you whisper "a bug" and is totaly handled by the man that obviously knows things. So, Chris has no job at all, except to do AHK API.
| atnbueno wrote: | | In my (personal, modest, restricted, basic) use of AHK I've never needed anything closer to a RichEdit control. |
I told before few days that ppl here can't see further then their own, modest and restricted needs. I also told that power users show this symptom. Laslzo and atnubeno are typical examples with their statements - "I never needed that in my life so far".
| atnbueno wrote: | | Not because I like the current Edit control, but because in my (personal, modest, restricted, basic) use of AHK I've never needed anything closer to a RichEdit control. |
Funny. You say that you "never needed anything closer to a RichEdit", which means you are happy enough with Edit. BUt then, you say don't like Edit control. So you like something in between Edit & RichEdit. I wonder what is that ? _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1715
|
Posted: Sat May 12, 2007 7:25 pm Post subject: |
|
|
I voted other... let me explain why.
as we had the basic listbox and then got the feature rich listview with lot of possibilities, i'd rather get a feature loaded RichEdit after the basic Edit control in place of something that's low on the feature count (i'm comparing its current state to a normal richedit control). _________________
 |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2328
|
Posted: Sat May 12, 2007 8:20 pm Post subject: |
|
|
| I wouldn't object to an extra 50k (negligible drop in the bucket) but I'd prefer a standard RichEdit to be built-in. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Sat May 12, 2007 10:47 pm Post subject: |
|
|
| I wouldn't mind seeing a side-by-side comparison of HiEdit vs. RichEdit features. I was tentatively planning to build in RichEdit someday. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6702 Location: France (near Paris)
|
Posted: Sun May 13, 2007 8:42 am Post subject: |
|
|
The poll is biased... I still voted No, although I am not happy with Edit (which is OK in 99% GUIs anyway).
I am not sure about this control. It is great to have lot of capability in such a small control, but beside the small size and perhaps speed, why choose it instead of some other like Scintilla? I don't propose to include Scintilla in AHK! It is too big, and doesn't has enough general usefulness. It is perfect, and so is HiEdit, in their respective uses, as an external DLL: very little scripts will use them anyway, so it isn't worth embedding them.
Somehow, so is TreeView, but at least it is a standard Windows control, and only the wrapper counts to the size of AHK. Same for RichEdit.
PCRE has been integrated, but a significant part of the scripts are using it now.
Now, if HiEdit author wants to create a grid control, which has been asked many times in this forum, I would vote Yes...
And no, that's not the same thing as ListView.
Anyway, I will take a closer look at this control, it seems interesting. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5298
|
Posted: Sun May 13, 2007 10:56 am Post subject: |
|
|
Dear majkinetor,
Many thanks for finding this DLL for and wrapping it up nicely.
It will be very useful for me. Offlate you have been concentrating more on AHK ( than the others ), I guess.
Keep up the good work.
Well, I wanted to Vote Yes, but
| Chris wrote: | | I was tentatively planning to build in RichEdit someday. |
If that is the case, then I feel it would be worth to await it. I voted Others.
Your TVX - Tree View eXtension is very useful .. and now the HiEdit wrapper.
I wish that someday you will give us a full-fledged PIM, something like Treepad.
Thanks again.  |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6702 Location: France (near Paris)
|
Posted: Sun May 13, 2007 11:18 am Post subject: |
|
|
| Skan wrote: | | I wish that someday you will give us a full-fledged PIM, something like Treepad. | Like KeyNote would be better, as it allows RTF... _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3544 Location: Belgrade
|
Posted: Sun May 13, 2007 1:34 pm Post subject: |
|
|
Most of u ppl didn't obviously understand how things work here...
You acctually all want RichEdit but you will have to wait 2 years for it. This control can be added in days. I did above wrapper for 2 hours.
In 2 years, RichEdit will be history.
Thx everyone  _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1715
|
Posted: Sun May 13, 2007 1:53 pm Post subject: |
|
|
dear majkinetor,
its not nice to see you disappointed like this. i had reasons i didn't jump at seeing this control. i tried your wrapper and checked to see if it supported bold/italic texts, text colors/highlighting etc. i'd have uses for that right away. but the tabs and line nos. though very useful and not easy to code otherwise, i don't have a use for them right away. and that's probably y i'm unable to see from your perspective.
i'm sure there're others who feel similarly. _________________
 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|