The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Topic started by: akyprian on June 02, 2006, 09:17:55 AM

Title: HiEditor
Post by: akyprian on June 02, 2006, 09:17:55 AM
Hi all,

HiEditor is an ultra fast, large file editor consuming very little memory. It can display non-printable characters in a readable format. Text is pinned.

HiEditor uses my HiEdit custom control which I already released as a library and a dll together with a demo appication. Note: I 'll release a new version of this package soon.

Please let me know of any suggestions or bugs.

Regards,

Antonis


[attachment deleted by admin]
Title: Re: HiEditor
Post by: Shantanu Gadgil on June 02, 2006, 09:38:53 AM
Woohoo...excellent!!!  :U :U :U

just a few suggestions:
* The line numbers' width thing...could it be made into a text box with an up down control. (Easier to follow)
* How about putting the font options inside a groupbox???
Also, any reason for having "lefttexted" check boxes? (too used to standards, I guess)  :wink :wink
Title: Re: HiEditor
Post by: akyprian on June 02, 2006, 12:19:08 PM
I am glad you like it. I 'll take your suggestions into account.

Thanks a lot,

Antonis
Title: Re: HiEditor
Post by: Mark Jones on June 02, 2006, 05:51:44 PM
Hi Antonis, HiEdit looks and works great! It effortlessly scrolls through a 100MB .ZIP file which is over 300,000 "lines" long... while using only 11MB of RAM! :bg

I'd like to ask for some additional features if possible.

1. Option for Hexadecimal viewing and editing?
2. File association?
3. Minor: the Line Numbers Width default of 21 only allows three digits to be displayed on XP SP2. Maybe default LineNumbersWidth=38 so that >10,000 lines can be seen.

Keep up the good work! :U
Title: Re: HiEditor
Post by: akyprian on June 03, 2006, 02:20:30 PM
Hi Mark Jones,

HiEditor uses ~140K when opening large files.

1. I don't think this will be done any soon
2. You can associate any file type with HiEditor
3. The default is only the default. You can change it to any value you prefer


Thanks for the good words,

Antonis
Title: Re: HiEditor
Post by: zooba on June 04, 2006, 10:17:10 AM
Very nice. Beautiful toolbar icons as well, did you make them yourself? If so are they freely usable?

Cheers,

Zooba :U
Title: Re: HiEditor
Post by: akyprian on June 04, 2006, 02:36:59 PM
Thanks a lot. I use the same toolbar bitmaps in WinAsm Studio which are courtesy of PhoBos. You can use them, if you so wish.

Regards,

Antonis
Title: Re: HiEditor
Post by: savage on June 05, 2006, 02:34:34 PM
I highly recommend akyprian's work to everyone.  I've been using his applications for over a year, and could not live without them.
Title: Re: HiEditor
Post by: akyprian on June 06, 2006, 07:25:35 AM
This is very kind, thanks a lot :bg

Antonis
Title: Re: HiEditor
Post by: stanhebben on June 06, 2006, 02:40:44 PM
Nice program  :U just locks up when I try to load in a 3GB file  :P
Title: Re: HiEditor
Post by: skywalker on June 06, 2006, 03:38:43 PM
Quote from: akyprian on June 02, 2006, 09:17:55 AM
Hi all,

It can display non-printable characters in a readable format. Text is pinned.

Regards,

Antonis


If you mean the extended ASCII characters, it doesn't display them correctly.

Title: Re: HiEditor
Post by: akyprian on June 06, 2006, 08:29:02 PM
Hi,

@Stan Hebben: It is supposed to load even a 3GB file; Does it crash or you are not patient enough to wait for it to load?

@skywalker: Non-printable characters are < 32 and are displayed nicely (I hope!). The Extended ASCII (> 127) display is dictated by the currently selected font. Please let me know if it is not clear enough.

Antonis
Title: Re: HiEditor
Post by: stanhebben on June 08, 2006, 07:24:50 PM
I loaded the 3GB file again, and I've been waiting for about 5 minutes, but the file still wasn't loaded.

Copying the file in explorer to the same file does take about 6 minutes. (but that's read & write, so reading it should take about 3 minutes)

The program doesn't crash, only hangs.

Don't bother solving it. Who loads up 3GB text files  :bg (my file wasn't a text file)

Stan
Title: Re: HiEditor
Post by: Mark Jones on June 08, 2006, 10:29:27 PM
Quote from: akyprian on June 03, 2006, 02:20:30 PM
HiEditor uses ~140K when opening large files.

Hmm... see the attached photo. What does this indicate then? I started HiEdit then loaded a 3.75MB bitmap.

[attachment deleted by admin]
Title: Re: HiEditor
Post by: stanhebben on June 09, 2006, 07:54:44 AM
I opened up a 10MB plain text file with 540 000 lines. It works very fast  :U but it uses op 11MB instead of the 140K.

Stan
Title: Re: HiEditor
Post by: Ossa on June 09, 2006, 10:23:49 AM
I tried a 240MB ISO image not so fast (it seems to scan the whole file in one go - formatting?) but it used 6.6MB of memory (not the 140k again, but also not as much as Stan's text file).

I then tried windows.inc (1MB text) - very fast - but it used 7.6MB.

I then tried the 240MB ISO again and it used the same as windows.inc (7.6MB).

I don't really mind - I never need to open files this large - so it works great so far as I'm concerned. I'm running Win XP SP2.

Ossa
Title: Re: HiEditor
Post by: Mark Jones on June 10, 2006, 12:12:56 AM
I'm assuming that the "memory usage" that windows is reporting includes cached memory or memory allocated by the system (and not by the application itself.) Hopefully someone more knowledgeable can expound on this.
Title: Re: HiEditor
Post by: akyprian on June 10, 2006, 08:13:52 AM
Hi all,

1.Memory usage: I map 128k of the file to memory, scan those 128k and then unmap. I then map/scan/unmap the next 128k etc etc.

@Stan Hebben: it is read and write for HiEdit too

@Ossa: Non-ascii files should take a bit longer to load, this is normal

Thanks to all for your kindness to test and report. I expect the next version to be even better.

Regards,

Antonis
Title: Re: HiEditor
Post by: stanhebben on June 11, 2006, 07:43:12 PM
Quote from: akyprianit is read and write for HiEdit too

Ok, good to know. Why does the editor write?
Title: Re: HiEditor
Post by: akyprian on June 13, 2006, 05:16:21 AM
I write to a temp file and use that instead of the original file.

Regards,

Antonis