jEdit Community - Resources for users of the jEdit Text Editor
Problems with C+c and C+v
Submitted by mamboze on Saturday, 11 August, 2007 - 09:58
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.

The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.

Any suggestions on how this might be resolved would be much appreciated
Problems with C+c and C+v
Submitted by mamboze on Saturday, 11 August, 2007 - 09:52
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.

The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.

Any suggestions on how this might be resolved would be much appreciated
SuperAbbrevs missing options
Submitted by sgtrock123 on Saturday, 11 August, 2007 - 00:09

Hi all,

I've installed and used SuperAbbrevs in the past, and recently re-installed it on a new machine after upgrading jEdit to 4.3pre9. I noticed that the option to "Expand Abbreviation" is now gone, and instead the only option available is to bring up a dialog box to type in the shortcut. Why was this removed? It seems cumbersome to me to force a mode switch, breaking the flow as I'm typing. It's simply not as fluid as the type-then-expand strategy.

This happens in the two latest versions available on SourceForge, so I reverted all the way back to 0.01 and it has the "Expand Abbreviation" option. However, it will not run under 4.3, presumably the jEdit API has changed (I'm not a jEdit expert), as attempting to tab from the inside of the snippet to the end throws the following error:

java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
	at superabbrevs.SuperAbbrevs.nextAbbrev(SuperAbbrevs.java:155)
	at SuperAbbrevsPlugin.nextAbbrev(SuperAbbrevsPlugin.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at bsh.Reflect.invokeMethod(Reflect.java:134)
	at bsh.Reflect.invokeStaticMethod(Reflect.java:98)
	at bsh.Name.invokeMethod(Name.java:874)
        ... (40 more lines snipped)

(I'm using Java 1.5.0_06 on XP SP2, in case this is a bug I'm not aware of)

Any plans to bring this feature back, or is it gone for good?

Thanks...

PHP double click behaviour
Submitted by misterv on Wednesday, 1 August, 2007 - 15:28
Similar to the post below (http://community.jedit.org/?q=node/view/3605) but I want to change the double click behaviour for php files so that the dollar sign is selected when double clicking as it's driving me nuts when I want to select a variable. I tried following these instructions in the php.xml mode file but got an error.

# copied and pasted from the mentioned post
2. Create a mode file (as you've suggested) for MEL (which exists already on www.highend3d.com by the way, just search for jedit). Inside the < PROPS > tag, insert the following line:
< PROPERTY NAME="noWordSep" VALUE="_$" / >

How can I change the behaviour? What would I modify in the php.xml file? Thanks!
Recommended Versioning PlugIn for RubyOnRails?
Submitted by MaryK on Saturday, 28 July, 2007 - 12:41
Could you please recommend a plugin for RubyOnRails development in JEdit?
Thank you!
select (hightlight) line when clicking / dragging line-numbers
Submitted by Markus.Daum on Friday, 27 July, 2007 - 11:31
Hi,

Is there a way to connect a (LMB) click onto the line-number display area with the "Select Line" command? This is sort of a standard behavior for many other text-editors, but does not seem to work in jedit. To begin with, I wouldn't even know how to detect a (LMB) click in this area at all... Smiling

Ideally I would also like to be able to click-drag in the line-number area and have lines of my text selected / highlighted accordingly. Hope this does make some sense?

Thanks,
Markus
Large files?
Submitted by tclwarrior on Thursday, 26 July, 2007 - 06:36
How can I can edit large files on jedit 100+ MB
Is it even possible?
Whats the file size limit on jedit?

By the way I am running 4.3pre9
And I checked the help I found how I can improve the handling of jedit by
passing by -mxXXm to the command line. (propably java -mx128m ???)
I am running windows and I have no clue how to do this, I just click on
the jedit jar and it starts!

I also downloanded the JMstats plugin and it tells me that my max memory is 64 MB
The file I was trying to open was 120 MB
Does this mean that jedit need to load all the file in memory to edit it?
This doesnt feel efficient!
Large files?
Submitted by tclwarrior on Thursday, 26 July, 2007 - 06:35
How can I can edit large files on jedit 100+ MB
Is it even possible?
Whats the file size limit on jedit?

By the way I am running 4.3pre9
And I checked the help I found how I can improve the handling of jedit by
passing by -mxXXm to the command line. (propably java -mx128m ???)
I am running windows and I have no clue how to do this, I just click on
the jedit jar and it starts!

I also downloanded the JMstats plugin and it tells me that my max memory is 64 MB
The file I was trying to open was 120 MB
Does this mean that jedit need to load all the file in memory to edit it?
This doesnt feel efficient!
APB: Specman-E (a hardware verification language) syntax highglighting mode created
Submitted by LDiracDelta on Tuesday, 24 July, 2007 - 14:24
FYI, I've created a Specman syntax highlighting mode for JEdit here:
http://ldiracdelta.redirectme.net/wiki/index.php/Specman_JEdit_Mode

- L{ DiracDelta( t ) }
Creating uneditable blocks of text
Submitted by david_kightley on Tuesday, 17 July, 2007 - 19:02
I want to create a mode which will highlight a block of text and make it read-only. Is this possible?

Basically, what I am looking to do is put text into a file that are comments which the user cannot change. It would look something like this...

**Editable text**
Normal text......
%% This comment cannot be changed or deleted %%
More text here that the user can enter or change.
.....

I would want the text between the %% symbols (or whatever) and the delimiters themselves to be fixed so that they cannot be changed from within JEdit.

Can parts of the edit window be made uneditable?

Thanks in advance

-- David Kightley

How to chaging default explicit fold characters
Submitted by thebugslayer on Thursday, 12 July, 2007 - 17:30
Hi,

Is there way to change default explicit fold marker "{{{" and "}}}" to something custom?

thanks
tbs
change double-click text highlighting behaviour
Submitted by Markus.Daum on Thursday, 12 July, 2007 - 13:57
Hi,

I wonder if / how it is possible to change the behaviour of jedit when a word in the text edit pane is (LMB) double clicked. Currently it does select / highlight only coherent letters and numbers, but ignores any special characters (so that these characters will not be part of the selected text).

This is a problem for me, because I'm currently coding in MEL (Maya's Embedded Language), where all variable names have to be defined with a leading dollar sign, like "$myVariableName" for example. When I double click on such a variable name, everything but the special character(s) are selected / highlighted, so in my case only "myVariableName", but not "$myVariableName". How / where can I change this behaviour, i.e. how could I add the dollar sign to the characters that are considered by this double click selection?

Cheers!
Markus
Anti-alias all text in the editor on Mac OS X
Submitted by simonvwade on Thursday, 12 July, 2007 - 00:17
Add the following two lines to the Properties dict tag in jEdit.app/Contents/Info.plist:

<key>swing.aatext</key>
<string>true</string>

For example:

<key>Properties</key>
<dict>
<key>apple.awt.textantialiasing</key>
<string>true</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.antialiasing</key>
<string>true</string>
<key>swing.aatext</key>
<string>true</string>
</dict>
custom syntax coloring
Submitted by mituller on Tuesday, 10 July, 2007 - 21:24
Although JEdit takes care of most of the coloring of syntax that I need, I would like to change a few things, such as
SuperAbbrevs import file format
Submitted by tnini on Tuesday, 10 July, 2007 - 15:28
I am trying to import in abbreviations using the "Import from file" feature of SuperAbbrevs but I can't get it to work. Can anyone give some direction for this and how the import file should be laid out/formatted?

jEdit version 4.3pre9.
SuperAbbrevs version 0.25

Thanks,
Troy
Restricting regex search matches to single line
Submitted by trenthill on Monday, 9 July, 2007 - 01:37
Hi all,

according to jEdit's help, under "Searching For Text":
"Selecting the Regular expressions check box allows a regular expression to be used in the search string. Regular expressions can match inexact sequences of text that optionally span more than one line."

However, I can't seem to find an option to prevent multi-line matches. Is there something I'm missing? I suppose I could explicitly change the search string to prevent newlines from being matched, but that seems like a rather painful approach for what I find to be a common need.

jEdit version is 4.3pre9.

Thanks, Trent.
Where are Favorites stored?
Submitted by Todd on Thursday, 5 July, 2007 - 21:26
I'm moving my settings to a new computer and would like to manually edit my Favorites so they work on the new machine. I found the XML files for the Project Viewer plug-in, but can't figure out where Favorites are saved. One post I found said they were in the settings folder in a file called "properties", but I have no such file (using 4.3pre9). Can someone point me in the right direction? Thanks.

Todd Prouty
Editing fortran source code
Submitted by GKalman on Tuesday, 26 June, 2007 - 14:00
Apparently Java is the deafult case. I have no problem when working with a "foo.java" file to insert a "line comment". Then "//" appears correctly in front of the selected line.
However, when I try to do same for a "foo.f90" file, jEdit ignores the command (instead of inserting "!").

My setup for the editing dialog: (with WindowsXP)
Utilities/Global Options/jEdit/Editing/Change Settings for mode: fortran
File name glob: *.f90
Default edit mode: fortran
Then push buttons: Apply & OK

Then from the "Edit" drop-down menu:
Edit/Source/Line Comment

Result on the highlighted line: command IGNORED
Although, as I said, with a Java file I had no problem doing the same.

Why?

First-time user.
Modify curly brace ({}) behavior.
Submitted by the_0ne on Tuesday, 26 June, 2007 - 12:58
I'm trying to find the way to modify the curly brace behavior so it doesn't constantly tab my hash/array/function blocks. I've found all kinds of key behavior in the Utilities -> Global Options -> Shortcuts section, but don't see where the curly brace behavior is coming from. It's really annoying. Something like this is almost impossible to type into jedit.

part_type_info = { 'to' => { 'optlist' => "fontname=optima fontsize=12 encoding=unicode " +
"fillcolor={gray 0} alignment=justify leading=120%",
'caption_part' => false } }

Everytime I type an open set of curly braces, it lines up where it thinks it should and I have to then space it myself. I just want the curly braces to not do anything, I can format the code myself.

Thanks in advance...
Encoding per folder
Submitted by atg2d on Friday, 22 June, 2007 - 09:29
Is it possible to set specific encoding per page?
I am working on more than one project at a time and some of them are utf-8 some are windows-1251. I have set up utf-8 as my default encoding, but when i open one of the other projects that uses windows-1251 i have to change the encoding to windows-1251 and then close(without saving) and reopen the file for the encoding to take place(if i forget and save the file with the incorrect encoding all non ASCII characters are screwed).
I wonder if it is possible to set some associations 'folder - encoding' and when opening file jedit checks whether the file is in one of these directories and opens it with the specified for that folder encoding.
So is there such functionality or plugin for jedit?
If not i would like to make that a request. If i had any kind of java experience i would do a plugin myself but i don't - i will have to learn java and jedit plugin architecture, while someone with experience in jedit plugin development will probably be able to do it in an hour.
Thank you
User login
Browse archives
« May 2025  
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
31
 
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   108254
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18609
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17490
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16088
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312