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.
Search/Find History Persisted Between Sessions
Submitted by
user2037 on
Monday, 11 November, 2013 - 17:27
It'd be nice if the search/find history were saved between sessions, such as on disk. Ideally with the replace-history also persisted.
rp5.bsh v1.0 by monkstone
Submitted by
monkstone on
Sunday, 15 December, 2013 - 08:21
Macro for setting GEM_HOME and GEM_PATH environmental variables and calling rp5 commando menu
utiliser le chemins long dans une macro
Submitted by
claudecnx on
Wednesday, 25 December, 2013 - 10:27
J'ai cette ligne dans une macro qui par ailleurs fonctionne bien:
runCommandInConsole(view,"System","C:\\PROGRA~1\\MOZILL~1\\firefox.exe " + "http://127.0.0.1/"+path);
Je voudrais savoir s'il est possible d'utiliser les chemin long sous windows, c'est à dire remplacer le ~1 par le vrai dossier?
Merci de votre réponse.
claudecnx@blanquefort.net
jEdit 5.1.0 Win 7 64 Java 1.7.0_17 Text Area Display issues
Submitted by
murkles on
Sunday, 2 March, 2014 - 17:06
Hi folks,
I've been using jEdit for a *very long time*. Many thanks

I'm currently having an issue which is repeatable. The text area display is not being refreshed fully as I am editing/moving around a file - typically lines of text aren't refreshed, disappear or are displayed wrong.
For example:
1. Open jEdit. The text area size is approximate 70 lines of text.
2. Select Macros -> Properties -> System Properties.
3. Properties are loaded into buffer. These run to 64 lines on my system.
3. Click on a line > 45.
4. lines of text disappear below line 45. I can still see the gutter numbers. The line I click on is sometimes displayed after a delay.
I've checked the various display property switches for the JVM (opengl, disable 3d etc) and none of these have made a difference. I find it strange that it is the text area only that seems to be affected.
Any ideas/suggestions?
Thanks, Mark
New Edit Mode Not Being Applied/Used
I created an edit mode and added an entry for it in the catalog:
I can apply the mode manually through the buffer options, but it doesn't get used automatically.
the file I want it to work on is a *.txt file. Could my new mode not be working because the txt one is being used?
Switch View via Keyboard
Submitted by
jman on
Thursday, 27 March, 2014 - 16:34
Howdy,
v5.1.0, OSX 10.9.2
Is there a way to switch between views via the keyboard? NOT buffers, views.
Don't see that in the menu anywhere, otherwise it could be bound to a shortcut key combo.
Using multiple monitors it seems the only way to go to the other screen is with the mouse.
I often have each view showing on a different monitor, and each view may show a different active buffer. When tabbing back into jEdit from another program, focus always switches to the primary monitor, even if secondary was active when the program last had focus. This means involving the mouse.
Any tips? Thanks!
jEdit Modes: Am I using at_word_start right?
I have a basic edit mode I'm creating and I want to make words bold when they have asterisks around them. This does it, but I'd rather have it work only if the * is right next to a word. The docs seem to say I can do it this way.
< SPAN TYPE="KEYWORD1" NO_LINE_BREAK="TRUE" AT_WORD_START="TRUE" >
< BEGIN >*< /BEGIN >
< END >*< /END >
< /SPAN >
In other words, I want *this to be bold*
But * this should not be bold *
Right now, both are getting bolded.
Thanks!
Help Pages in HTML
Submitted by
razera on
Thursday, 10 April, 2014 - 01:03
Hello.
I am currently using jEdit with my own defined mode file (mymode.xml). I'd like to customize the help menu. I've found the initial help page to be the welcome.html located under the doc directory.
But for the completeness of my IDE (based on jEdit), I would like to modify the contents structure of the help menu to include different html pages and a custom Contents. But I have not found where these files are located. Could you please help?
Best regards,
Luiz Razera
How can I upload my macros to the community page
Submitted by
ahlearn on
Thursday, 10 April, 2014 - 03:07
Hi all, I'm new to this community page. I would like to upload some of my jedit macros I wrote. How can I do that? I cannot find any related link on the files section.
A BeanShell macro script to search and open a recent file or a file in the current directory. (Open_Recent_or_CurrDir_File.bsh v1.0 by AhLeung Cheng)
Submitted by
ahlearn on
Thursday, 10 April, 2014 - 21:42
A BeanShell macro script to search and open a recent file or a file in the current directory.
- Press TAB or A+j (S+TAB or A+k) to select next (prev) file.
- Press ENTER to open the selected file.
- Press ESCAPE to close.
This Script is a modification of Recent_Files.bsh, written by
Jeroen Budts and Ollie Rutherfurd.
Copyright (C) 2001-2004 Ollie Rutherfurd, oliver@rutherfurd.net
Modified by AhLeung Cheng
A macro script for displaying and switching between open buffers (in most recently viewed order). (Switch_Recent.bsh v1.0 by AhLeung Cheng)
Submitted by
ahlearn on
Friday, 11 April, 2014 - 03:03
Switch_Recent.bsh - a BeanShell macro script for displaying
and switching between open buffers (in most recently viewed order).
This is similar to the functionality provided by Alt+Tab in Windows.
Suggested shortcut: A+TAB
This Script is a modification of Buffer_Switcher.bsh, written by
Ollie Rutherfurd.
http://web.mit.edu/~jedit/arch/java/versions/4.3pre5/macros/Files/Buffer_Switcher.bsh
Copyright (C) 2001-2004 Ollie Rutherfurd, oliver@rutherfurd.net
Modified by AhLeung Cheng
How to adjust font size in jEdit Help for the API reference
The text for the API reference has always been small but after installing 5.1 the text has become microscopic, like spy story microdot small.
How can I enlarge it enough to read?
ISO-10646-UCS-2 encoding
Submitted by
powery on
Friday, 9 May, 2014 - 10:37
Hello,
is it possible to save file in ISO-10646-UCS-2 (alias csUnicode) encoding?
Thanks
jEdit 5.2pre1 is out!
Submitted by
Vampire on
Tuesday, 27 May, 2014 - 17:08
Hello everyone,
I proudly present jEdit 5.2pre1, the first preview development release of the 5.2 series of jEdit.
Detailed changes can as always be found in the Change Log at
http://jedit.org/CHANGES52.txt, but here are some of the major features of this version:
This is a time-based release, scheduled to come out about 1 year after jEdit 5.1, and is a collection of enhancements, bug fixes and patches submitted by the community. Detailed changes can be found in the Detailed Change Log.
There are no major new features in this release. You can think of it mostly as a bugfix release, although there are quite a lot of UI enhancements also.
With continued support from the community, we will keep releasing a newer version each year that can accurately bring together the fruits of everyone's labor. Thank you to each and every one of the contributors who helped make 5.2 the best version of jEdit ever.
Volunteers are always welcome to contribute to the future of jEdit:
http://www.jedit.org/index.php?page=devel
That being said, here is the download link:
http://www.jedit.org/index.php?page=download
FYI, merge requests for the 5.2 series (fix done, but waiting for a review) can be found at:
https://sourceforge.net/p/jedit/merge-requests/milestone/for%205.2.x/
Have fun with the new release.
ColumnRuler for jEdit: Misplaced indicator
Submitted by
Hans_Bauer on
Friday, 27 June, 2014 - 13:33
Sorry for using this forum for a plugin-bug, but the e-mail of the developer of the ColumnRuler did not work. Could you please submit this report to Brad Mace, if you have a valid e-mail adress?
------------------
Hello Brad Mace,
using your ColumnRuler for jEdit since several years i really have to thank you a lot for this tool.
Updating to jEdit5.2pre1 and ColumnRuler 1.0.3 the indicator is misplaced to the Cursor as shown in the png-file, given with the link below.
Is there a possibility to correct this or did i make a mistake?
Thank you a lot for your efforts.
Best wishes
Hans Bauer
http://external.bplaced.net/ColumnRuler103.png
Use of EditorExitRequested class
Submitted by
ebt on
Monday, 30 June, 2014 - 08:45
I want to be able to detect that jEdit is closing down in order to do some clean-up operations before it closes.
From browsing the API, it seems that I need to use the EditorExitRequested class, but I don't know how.
Can someone explain how this class is used?
Thank you
ebt
Change the prompt in the system console plugin?
Submitted by
kmogli on
Thursday, 10 July, 2014 - 23:05
The default prompt (current working directory) is sometimes long and leaves no room on the command line. I would prefer to change the prompt to something minimal (like '$' on Linux or '>' on my Windows system). Seems there would be an easy way to do this, but I can't find it. Can anyone help?
jEdit 5.1.0 w/ JRE 1.8.0_05 + W7 64-bit = slow exit from jEdit?
Submitted by
Phrawm48 on
Thursday, 24 July, 2014 - 00:25
For:
· jEdit 5.1.0
· Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
· java version "1.8.0_05" (JRE

· Windows 7 64-bit
On my W7 64-bit computer, jEdit 5.1.0 runs fine, but when I exit jEdit it takes 20+ seconds to finally close. This behavior is new after my recent update to my JRE8 / Java SDK on this computer.
On my Windows Vista 32-bit computer, jEdit runs fine AND exits / closes straight away. This is true even though I updated the JRE to the same version as the one on my 64-bit computer.
Has anyone seen this? I've tried re-installing jEdit but otherwise have no ideas. At this point I simply close jEdit then minimize its window so that it's out of the way until it finally closes.
Cheers & thanks,
Riley
SFO
Highlight issue when CSS + HTML in the same file
Submitted by
margenn on
Tuesday, 5 August, 2014 - 13:06
Incorrect highlight on code below. The problem is the character ":" on "li:first-child". The code is presented correctly when it is removed
The "Submit a bug" link, is not working, so, posting it here was the only way ive found to communicate this issue, sorry
<!DOCTYPE html>
<html lang="en">
<head>
<title>Template · Bootstrap</title>
<!-- Le styles -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
body { padding-top: 20px; padding-bottom: 60px; }
.navbar .nav li:first-child a { border-left:0; border-radius: 3px 0 0 3px; }
</style>
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<hr>
<div class="footer">
<p>© Company 2013</p>
</div>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>