Results 1 to 5 of 5

Thread: Looking for editor source

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2015
    Posts
    524

    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.

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    5,625

    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2015
    Posts
    524

    Re: Looking for editor source

    Quote Originally Posted by fafalone View Post
    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.

  4. #4
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,042

    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.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2015
    Posts
    524

    Re: Looking for editor source

    Quote Originally Posted by dz32 View Post
    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
    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
  •  



Click Here to Expand Forum to Full Width