jEdit Community - Resources for users of the jEdit Text Editor
More config questions - thanks!
Submitted by frisky on Friday, 14 July, 2006 - 23:26
Hi, I have tried to find these answers in the docs w/no luck - if you tell me specifically were an answer is in the docs that would be great or just tell me quickly here how. Thanks. Again thank you - I am trying to config JEdit - I want this as my "goto" editor.

1. How do I toogle the wrap guide on/off? Specifically how - there should be a way. Is the action bar the only way? Please cite how - just this one time for me w/the action bar - another way w/out going into the global config?

2.Right now I use-control the added plugins functionalies from a plugin drop down menu were i have to drill down deep w/the mouse. It's very unwieldy - I want either toggle buttons and/or to add key combo or sometrhing so I could record the actions - I guess I could add it to a marcro and then have a toogle button. How? The drop down menu is "killing" me.

3. The plugin settings are *not* saved when I shut down Jedit - eg. I check that i want buffer tabs (the buffer tab plugin). But when I restartup the changes are not saved - I have to go in to this drop down and reconfig everything - I need a way to save and easily toogle (as I cite above) plugin options and any other changes I make. Same thing - I make want the show whitesapce set my way every time I start - but my previous settings are never saved.

Thank You again,
Lee
plugin does not seem to work & other questions
Submitted by frisky on Monday, 10 July, 2006 - 15:49
jEdit 4.3pre5
win2k
java 1.5


I'm looking for a way to see spaces, tabs, end of lines.

Most editors have a toggle toolbar button or key sequence that will show spaces as dots for example. Very handy to format and line things up on a page.

I don't see the command for this in Jedit.

Note I tried the plugin "Whitespace" but it must be broken - cause it seems to do nothing(?) Show spaces has no effect.

Also I set the the faint blue wrap guide line to not show in the global options - but when I restart jedit the change is not saved and it shows up again. Also is there a way to toogle this line on/off from the toolbar?

Thanks
Couple newbie setup questions
Submitted by frisky on Monday, 10 July, 2006 - 15:18
1. What plugin should I install for HTML tag paring - I heard it's possible in Jedit. eg, finding open and closing html tags in a 1000's of lines of spaghetti code.

2. Looking a way to toogle line wrapping on/off? Most editors have something in the toolbar that will do this.

3. Is there a way to make .php use arial font and .html files to use new courier font? ie. Customize via file extension?

4. Sorry, I don't see a spell checker. Is there one for english?

5. I don't see old fashion fonts like courier - is this available?

Thank you!
Memory consumption growing even when idle?
Submitted by sethrasmussen on Monday, 10 July, 2006 - 14:41
Hi all,

I've been using jEdit as my primary editor for several months now, and generally am very happy with it. One thing I've noticed is that jEdit seems to consume more and more memory over time, even when the app sits idle for extended periods. I know you can quickly release memory by double-clicking the usage report in the status bar, but is there something I can do to avoid some of that? Or are there debugging techniques that I could use to determine if it is from certain plugins, for instance?

Thanks for any advice!
Bracket balancing -- help needed
Submitted by clif2 on Sunday, 9 July, 2006 - 11:14
Hi,

I've an error in one of my source files, which I suspect is a missing }. How can find all the unclosed braces (etc.) in a file?
CodeBrowser not working properly with jEdit 4.3Pre5
Submitted by Manil on Friday, 7 July, 2006 - 19:44
Hi,

I have a probleme working with CodeBrowser in jEdit 4.3Pre5, everything was working perfectly before, but now when i click on a function the cursor doesn't go there, it seems that the find function is not working properly, with 4.3Pre4 every thing was fine, is there a major changing.

I removed Pre4 and installed Pre5 without removing the plugins that are in Document And Setting.....etc, juste the folder Program Files/jEdit.

Can Some one help me on that please.....

Thx a lot
"Search" help
Submitted by ELockhart on Friday, 7 July, 2006 - 12:42
I am relatively new to jEdit and using the "Search" feature. I have reviewed the jEdit Help under Regular Expressions but I am having trouble trying to construct a search that would find the word or string 'Folder' at the beginning of a line and also contain the string 'UT120AP' within the line, disregarding all other text contained within the line.

Can some please help? Also, is there documentation of sample regular expressions I might learn from?

Thanks in advanced,
Eric
Quick look around java codes
Submitted by ccapeng on Tuesday, 27 June, 2006 - 20:32
I have been tried Eclipse fow a while, but not really work for me. The UI is complciated and need to work on project concept.

But, I really like some of editing features in Eclipse, like "Open Declaration" and "Open Type Hierachy". Basically, I can look at the methods defined in the other classes easily.

Any similar features in jEdit?
Having trouble with lookahead regex in a syntax highlighting mode
Submitted by soapi on Tuesday, 27 June, 2006 - 15:26
In the particular language I am writing a mode for, the start and end of code blocks are delimited by { }. Code appears within these braces. So, it's a little like except with different symbols. Within these braces, *everything* after a double slash - // - is a comment... right to the end of a code block (not just on the same line). For example: { some code // this is a comment } Now, the syntax I first tried was: // } However, this interferes with the match for the end of the code block, and so the end } is not detected correctly. I then tried: // (?=}) ...which I think should do the trick, as the lookahead should trigger a match upon encountering the end brace, but not include it in the match, so it should still be there for the code block rule to find. The trouble is, it doesn't match anything at all! Further experimentation seems to suggest that the END block cannot actually contain regex - just the BEGIN block. If so, this is pretty useless, so I have to assume I'm doing something wrong. Can anyone help me out and show me how to accomplish what I want? Thanks!
Console plugin - change classpath default for javac
Submitted by janM on Tuesday, 27 June, 2006 - 11:30
I am using JEdit on Windows XP platform.

When I use the javac command with the console plugin it always defaults to "$Classpath; folder of java source code".

I would prefer to use the classpath environment variable setting, which it will do if I delete the default entry. However I don't want to have to do this each time I run the command.

Is there any way I can amend this default setting?

Thanks
swap to java.util.regex?
Submitted by farmerBri on Tuesday, 27 June, 2006 - 06:27
First off - long time user, first time poster - I love jEdit, have converted most of my co-developers to jEdit devotees in the last couple of years (it's suprisingly easy to push jEdit considering how close text-editor choice is to religion amongst developers)

So, yeah - jEdit uses gnu.regexp rather than the java default java.util.regex for reasons I don't yet understand... I'm hoping some kind soul will enlighten me.
I'm particularly missing lookbehinds, both negative and positive, but after a quick comparison of the gnu.regexp documentation with java.util.regex there is also lots of other useful things:
  • \p{Punct} -- Punctuation: One of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
  • \P{InGreek} -- Any character except one in the Greek block (negation)
  • [a-z&&[^bc]] -- a through z, except for b and c: [ad-z] (subtraction)
  • X?+ -- X, once or not at all (Possessive quantifiers)
  • (?idmsux-idmsux:X) -- X, as a non-capturing group with the given flags on - off
I can't see anything in gnu.regexp that is not available in java.util.regex. So java.util.regex is more powerful (in terms of options) and I also often use the search in jEdit for conveniently testing my regexes before using in a java app, so it would be beneficial to say the least if they both spoke the same syntax Sticking out tongue

In summary - is it possible / feasible for me to swap the default regexp implementation to java.util.regex? I'm willing to get my hands dirty, but some pointers would be greatly appreciated.

cheers all.
hail jEdit.
"stackable" panes?
Submitted by sethrasmussen on Friday, 23 June, 2006 - 20:29
Can you have, say, two right-docked panes open at the same time, stacked on top of each other?

I haven't seen anything intuitive or obvious pointing to that, if so.. if not, I think that's a reasonable feature request. Has this been discussed? It's not a big deal ultimately, but it would be useful at times.
where do I put an editor scheme file?
Submitted by localshredder on Friday, 23 June, 2006 - 04:50
Where in the world do I put my scheme file once i've downloaded it. I can't be this stupid...
how to 'search & replace' with a simple calculation???
Submitted by NickRivers on Wednesday, 21 June, 2006 - 12:17
Hi!

I'm trying to search a file with reg-expression '\d' and I want to replace the values with a BeanShell snippet which adds a value to the search-string. When I try something like '_0+1' for a line in my file which looks like 'array[1]' I get an 'array[11]' an not what I want, an 'array[2]'.

What I'm doing wrong?

Thank You
selecting a line of text with a left mouse click
Submitted by stellari on Monday, 19 June, 2006 - 19:08
I have noticed that if click after the end of a line (basically to move the insertion cursor to that line), spaces are added to allow the cursosr to reach that column. Is there an option to disable this and have jEdit place to cursor at the end of the current line text?

Using jEdit 4.3pre4

Thanks,

Franco
Does jedit support "code file includes"?
Submitted by motionmountain on Saturday, 17 June, 2006 - 13:28
I am thinking about switching to jedit for editing html.

There is one feature I need: the ability to put code parts in separate files,
which are then included in the final html files, thus avoidiung the need to
edit 10s of files for the same change.

Is this possible in jedit? how is the feature called?

mm
Auto Pairs {}()[]
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:55
is there a plug in that makes it so any time i type in one paired character it will automatically close it
< >
{ }
[ ]
( )

No I don't need somthing to automatically close html tags! Just these characters.
Reproducing Basic BBEdit Features
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:46
Lets try this again Sad

I've been desperately trying to find a GOOD text editor that will run in windows for many months now. I tried jedit some time last year and after trying many MANY apps over the last two months I'm back to jEdit. It is in may ways a bit better than the rest but there are still a few features that are either not there or I can't seem to find. Not having these features makes trying to work outside of BBEdit a time consuming nightmare for me.
Maybe someone here can help me find them or let me know they don't exist in jedit.


#1 \r and \t

Lets say I have a number of spaces that I want to turn into tabs. 
In bbedit I can represent a tab character with \t. Find my spaces. Replace with \t\t.
It's similar with new lines. Find all \r\r and replace with just one \r until the number of empty lines is to my liking.

Yes I know theres a macro that will convert all spaces to tabs and vice versa. But what if I don't wan that to happen to the entire file, what if I have a specific reason to have a certain number of spaces or a certain number of tabs and it's only important to section of the file and not the whole thing.

so is there a character i can put into jedits find/replace that will match the newline character? or tab character instead of literally pressing tab then copying and pasting!?!?



#2 (?s) multiple line regular expressions
For example:
<p>doodie</p>

<p>
mulligan
</p>

<p> piggums </p>

This expression: <p>.*?</p> will match the doodie and piggums paragraphs...but not mulligan.
In some programming languages and other applications like BBEdit I can specify flags that modify the way regular expressions work. If start my expression with (?s) it will make the expression match all three. This comes in very very handy for me all the bloody time.



#3 - multiple line search text fields
Example: lets say I need to batch find/replace the following over many files
$user='something';
$pass='else';
But other parts of many files have variables named $user and $pass.
I do know for sure that the original programmer always has just these two lines one after the other and other usage of $user and $pass tend to be mixed in with other code or have something betwen them.

if I could past both lines into the search box it would greatly reduce the chances of matching something I don't want it to match.
Actually if I could just use \r to indicate a new line in the single line text field that would be just as good.


Even with many months (off and on) of jEdit use under my belt I still spent over 20 minutes the other night cleaning up 1 afwul html file that was sent to me and long before finishing I gave up. It was easier to wait until I got to work and clean up all 4 of them in under 10 minutes using BBEDIT and the very simple features I described above.

Yes I know i could have used jtidy but I have very strong preferences as to how I want MY html files to look which make them EASIEST for ME to read. Jtidy doesn't do ME.
It always ads the html, head, body etc... tags that I am already using includes to bring in, so its just more stuff I have to double check to remove.

And how to I turn off this html autocomplete?

;(
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:14
yip, never type your entire post into the form itself.
some bull will always happen.
jEdit vs Ubuntu 6.06
Submitted by imehesz on Wednesday, 14 June, 2006 - 22:23
Hello everybody,

I started to use jEdit about 3 months ago w/ windows. and i just love it... I tried to install it on my debian laptop but i got some error message during the installation and since that laptop is my "experiment" laptop I installed Ubuntu 6.06...

so finally, jEdit is up on my computer but it won't start... and when I try to launch it through command line, i get a nesty message saying:

GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.NoClassDefFoundError: org.gjt.sp.jedit.jEdit
*** Got java.lang.OutOfMemoryError while trying to print stack trace.

Do you guys know what it is???

thanks
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