-
Feb 6th, 2023, 01:03 PM
#1
Thread Starter
Fanatic Member
Looking for editor source
I need to build a text editor which can handle 1GB files and larger.
Of course it shall not eat so much memory.
In very old times (VB3?) there once was a VB source that could do that.
It was when a textbox could handle 32 or 64kB only.
The idea is to get inspiration.
Can't remember the name, was it BigFoot or BigEdit?
Anyhow, I searched my archives and the internet and couldn't find it.
Can be it was on PSC, I don't know.
Perhaps someone remembers and even better HAS this source?
Thanks.
-
Feb 6th, 2023, 01:28 PM
#2
Re: Looking for editor source
VB6 - Huge (>2GB) Text and Binary File I/O Classes
Loading them into edit controls to edit like text is the harder part... bottom line is you can't load it all, you'll need to load sections, then swap out the sections when the scrollbar hits the top or bottom and there's more.
-
Feb 6th, 2023, 01:35 PM
#3
Thread Starter
Fanatic Member
Re: Looking for editor source
Originally Posted by fafalone
Loading them into edit controls to edit like text is the harder part... bottom line is you can't load it all, you'll need to load sections, then swap out the sections when the scrollbar hits the top or bottom and there's more.
Yes that's clear to me, that's why I search for the mentioned 'BigFoot'.
I remember this hard part was solved in it, so I wouldn't have to start from scratch.
-
Feb 6th, 2023, 01:54 PM
#4
Re: Looking for editor source
Ranger had a nice hexeditor with large file support, you could remove the hexeditor display part and just keep the core
Scrolling and incremental loading is already there anyway
https://github.com/Planet-Source-Cod...ditor__1-34729
Last edited by dz32; Feb 6th, 2023 at 02:48 PM.
-
Feb 7th, 2023, 05:31 AM
#5
Thread Starter
Fanatic Member
Re: Looking for editor source
Originally Posted by dz32
After a quick look, that seems like a good start for my project.
Impressing how fast rang3r-vb-hexeditor can handle really large files.
Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|