jEdit Community - Resources for users of the jEdit Text Editor
Large files
Submitted by maciejr on Tuesday, 27 June, 2006 - 12:20
Hi,

I sometimes need to work with large data files: containing numeric and other data. By "large" I mean larger than the available memory, say a few GB. Note that there are many editors around that compete in solving the problem of editing files in memory. Surprisingly, I could not find even a simple tool that solves a different problem: does what can be done in reasonable time with a large text file on disk.

I would like to find or make a tool to edit a file with no limit on file size, like a disk-based editor. Specifically such a tool could:

(1) quickly view parts of a file
(2) edit a small part of the file in memory (taking appropriately long to commit changes)
(3) search and replace some text through the file (making one full pass through the file)

I've searched these fora and, judging from a discussion in 2004, jEdit does not seem to support editing large files.
Are there any plans for a "large files" editing mode with limited functionality?
Could anyone point me to a (free or low cost) tool that already does that?
I am totally new to jEdit, but have some programming background. Do you think it is doable to adapt jEdit to perform such a task?

Thanks in advance for help,

Maciej.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Large files
by sune_simonsen on Fri, 06/10/2006 - 16:07
I think you could make a plugin that only reads a part of a file into the buffer, and when you move outside the buffer, you could load the next part. But it would be limited to do editing task on the part you loaded. This means no search and replace in the whole file.
If it is simple editing tasks you need to accomplish, check the unix tool sed, its really good for alot of tasks on large files.

-- Sune Simonsen (SuperAbbrevs)
User login
Browse archives
« September 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   96033
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299