text document editing

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
vinnie9000
Posts: 1
Joined: Tue Aug 04, 2009 3:28 am

text document editing

Post by vinnie9000 »

I'm really new to this program & am using it on the advice of a programmer friend. I am trying to edit a 140MB txt file (2.5 million lines). I've opened it and keep starting the process of copying some of the necessary lines (approx 500,000) and moving them to another tab, but every time I grab 10,000 lines or more, the program seems to become non-responsive. Is there a better way of using Zeus or even another program designed to do what I am trying to do? Thanks in advance for any and all help.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I've opened it and keep starting the process of copying some of the necessary lines (approx 500,000) and moving them to another tab
Since Zeus is really a programmer's editor it was not really been designed as a very large file editor.
but every time I grab 10,000 lines or more, the program seems to become non-responsive.
As a test I created a 120 Meg file:

Code: Select all

c:\temp>dir big.cpp
Volume in drive D has no label.
Volume Serial Number is FAE3-1040

Directory of d:\temp

4/08/2009  13:51       129,021,480 big.cpp
              1 File(s)    129,021,480 bytes
              0 Dir(s)  54,933,577,728 bytes free
This was my experience editing this file in Zeus:
  1. The big.cpp file contained 4,175,640 lines of code
  2. It took about 10 seconds to load the file
  3. It took about 8 seconds to make a change and save the file back to disk
  4. It took about 3 seconds to close the file
  5. It took less than a second to copy 10,000 lines of marked text from the document to the clipboard
  6. It took less than a second to paste the text into a new tab
  7. The keyboard input was sluggish
So I had no troubles performing the task you descibed :) but the keyboard was definitely sluggish :(

Since Zeus loads the file into memory the level of responsiveness will vary a lot depending on the amount of RAM on the machine. In my case the machine was running Windows XP and had 4 Gigs of RAM.
even another program designed to do what I am trying to do
A better option might be be to find a very large file editor as these editors have been specifically designed for editing large files.

I've heard Vim or Emacs can do this but I am not sure :?

Cheers Jussi

PS: Which version of Zeus are you running and how are you marking the 10,000 lines of text :?:
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The sluggish keyboard behaviour described above has been fix in the latest version of Zeus ;)

The latest version can be found here: http://www.zeusedit.com/forum/viewtopic.php?p=5306

Cheers Jussi
Post Reply