You are not logged in.

#1 2010-09-28 22:35:18

scarletxfi
Member
From: Australia
Registered: 2010-04-19
Posts: 105

[SOLVED] recommendation for a text editor that can handle 25mb+ files?

Not sure where to put it, so I put it her (if it's not the right place, can someone please move it.. thanks!)

I'm building a database of about 60,000 files in folder X.
I'm using php to organise all the files and clean them up (for exmaple removing "-" and ":") and then sticking them into a database.
my main text editor is vim,and then I usually use a gui based editor for fast navigation (lets see you go through 1,010,131 lines of output in vim).
The output is usually suppressed,  but the amount of files in X, changes daily (one day can go without change, then next day a user can add 20 files and another user can remove a file), so whenever a new file comes in I want to see that my code can handle it properly, then be able to stick in thee db properly.

recently trying to open a 1million line file in Kate, or Kwrite seems to crash dolphin (KDE).
If I install gvim, I'll need to remove Vim, and I dont want to do that.

I'm looking for something small with scroll bars, that only needs to edit txt files.

Last edited by scarletxfi (2010-09-28 22:37:10)

Offline

#2 2010-09-28 22:36:53

scarletxfi
Member
From: Australia
Registered: 2010-04-19
Posts: 105

Re: [SOLVED] recommendation for a text editor that can handle 25mb+ files?

answer (thought about it straight away, but if someone else is interested):

Leafpad seems to do an excellent job. Took more than usual to load the file but it's all there and its fast...

Offline

#3 2010-09-28 22:38:24

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: [SOLVED] recommendation for a text editor that can handle 25mb+ files?

What's the problem going through the files with ViM? Use C-d, or PageDown, or 1000j (followed by . to repeat the last command) or whatever suits your fancy...?

Offline

#4 2010-09-28 22:48:23

scarletxfi
Member
From: Australia
Registered: 2010-04-19
Posts: 105

Re: [SOLVED] recommendation for a text editor that can handle 25mb+ files?

I tired that, it wasnt the same, I don't know the exact line number, and as the files always change and are different from each other, i check locations which I know to be problematic..
thanks for the suggestions thought , I see I have to work on my VIM navigation skills

Offline

#5 2010-09-28 22:50:42

darie
Member
From: LE | .de
Registered: 2009-04-22
Posts: 16

Re: [SOLVED] recommendation for a text editor that can handle 25mb+ files?

scarletxfi wrote:

If I install gvim, I'll need to remove Vim, and I dont want to do that.

That's because vim is part of gvim. So when you install gvim you have of course vim too.

Offline

#6 2010-09-29 09:19:19

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: [SOLVED] recommendation for a text editor that can handle 25mb+ files?

scarletxfi wrote:

I tired that, it wasnt the same, I don't know the exact line number, and as the files always change and are different from each other, i check locations which I know to be problematic..
thanks for the suggestions thought , I see I have to work on my VIM navigation skills

If you know that it's some specific subdirectory that usually messes up, or you know the name of the file you want to find, you can do /FILENAME to search for it. If you know it usually is around line 600,000, then try out 600000G.

Offline

Board footer

Powered by FluxBB