jEdit Community - Resources for users of the jEdit Text Editor
jEdit can't open file with very long lines
Submitted by mtgavin on Thursday, 31 October, 2013 - 19:21
I am using jEdit 5.1.0 (Linux). I have a text file that is generated by a development tool I am using. It has many lines, but it has a couple lines in excess of 4000 characters. If I try to open it with jEdit, jEdit seems to open it, but when I try to scroll down further, it seems to get to the point where the long lines start, then it cant scroll down any further. You basically can't see the file past the point where the long lines start. At least I am able to close the file - it doesnt hang my jedit session. But I cant get the file to scroll to the point where the long lines start, the window just sort of hits a wall at that point.

I get lots of errors like this: (lots of errors with regex in them, although I am not doing any regex searches when this happens so this confuses me)

2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$CharProperty.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Branch.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupHead.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Loop.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupTail.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$BranchConn.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$CharProperty.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Branch.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupHead.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Loop.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupTail.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$BranchConn.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$CharProperty.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Branch.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupHead.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Loop.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupTail.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$BranchConn.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$CharProperty.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Branch.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupHead.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$Loop.match(Unknown Source)
2:18:59 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern$GroupTail.match(Unknown Source)


Problem seems independent of whether I turn on word wrap.

I would like to be able to open files with very long lines and scroll all the way through them.
Thank you.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
edit mode
by Robert Schwenn on Tue, 05/11/2013 - 18:25
Hi,
I guess jEdit is struggling with syntax highlighting or building sidekick structure. Try to change the edit mode to "text".

Robert
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   98100
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300