jEdit Community - Resources for users of the jEdit Text Editor
Regular Expression
Submitted by sydbeat on Thursday, 24 November, 2011 - 10:19
When I use this regular expression:
"^ | $"
jEdit finds only "^ ". But when i type:
" $|^ "
jEdit finds both.
Bug?
Regex-Beginning/End of File
Submitted by farphin on Tuesday, 1 November, 2011 - 14:49
I just started using jEdit, and I'm trying to use regex's to find the beginning of the file. I've tried \A and ^^, but neither seem to work.
So, how do I find the beginning of a file (actually, multiple files, to add "stuff" to the beginning of each.)
Thanks.
hypertext search for all lines NOT containing the text xyz
Submitted by garyn_87048 on Friday, 28 October, 2011 - 23:08
I'm auditing a large group of text files and I need to identify lines that do NOT contain a particular text string (for example, find all rows not containing the text "xyz"). XYZ may or may not occur on a word boundary. I have not been able to figure out the regexp to accomplish this.

Alternatively, if the hyper-search returned every line with a count of the number of occurences per-line prepended to each row, that would solve it too.

Thanks!
Code folding - indent does too much
Submitted by masher on Wednesday, 26 October, 2011 - 23:59
I've discovered that if I use "indent" as my code folding setting, if I fold a section of code (parent) that itself has indents (children), when I expand the parent, the children have been folded, even though they weren't initially.

I would have expected that any code should reappear as it was before; ie any folded code should stay folded, whilst unfolded should remain visible.

Is there any way to change this behaviour?
How can I run a macro over all files in a specific directory ?
Submitted by xcablex on Tuesday, 25 October, 2011 - 10:04
Hi,

I am totaly new in the usage of jEdit. I just finished a small macro for a "find&replace" purpose in about a hundred txt files.

Is there a way to tell jEdit to run the macro on all files in a specific directory ?

-- Peter
how to stop jEdit from requesting network access
Submitted by plevintampabay on Monday, 24 October, 2011 - 02:12
Every time I start jEdit, I get a pop up from the Mac asking
Do you want the application "jEdit.app" to accept incoming network connections?

Every time I click Allow. Why does it keep asking?

Is there a way to make the Allow permanent or where can I configure jEdit to not request network access?

This is not just a Mac issue since I don't get that popup for Firefox or other network applications I use.
Console plugin: can't see the output of command execution?
Submitted by baseliner on Wednesday, 19 October, 2011 - 00:26
I'm using jEdit 4.4.2 and the latest version 4.4.3 of Console plugin. Once I open Console and type ls, I'd expect to see the directory listing but it shows me a blank line. I suspect the output is being redirected to a background shell? How do I get the output to show? One of the consequences of this is that when I fire up a Ruby shell or a Rails console, I don't see the prompts at the beginning of the line, which makes the output a bit hard to read.
Question about syntax highliting
Submitted by aaog on Friday, 14 October, 2011 - 20:10
Hello all! I didn't see this topic in previous postings so don't kill me if it's been addressed previously. The issue is that I am coding in java and the syntax highlighting colors are not the normal scheme I've seen everywhere else in the world. Comments are orange and red for some reason, the "import" statement is showing up green, and the other colors are off as well. I understand that I can change the syntax highlighting colors and related options in jEdit for my java code, but I would rather use the typical default colorings for java syntax without having to manually change each of them. In screenshots I see that other people have their highlighting for .java code set up as I am used to seeing it in other programs, but when I am coding in jEdit, the colors are all strange and unusual to me, not the typical java colors. Is there any reason for that? Either way, is there any way I can change it en masse to the standard color scheme? Maybe compying an .xml file from somewhere... =) Thanks for the help!

-DJ
Could you suggest a plugin for adding Javadoc comments
Submitted by Evmorov on Tuesday, 4 October, 2011 - 08:45
Is there a plugin that can add Javadoc comments to methods and classes?
Like:
/**
* @param
* @throws
*/
How to expand directory in FSE on MacOSX???
Submitted by rickcr on Friday, 30 September, 2011 - 20:31
When I'm in the file explorer view how can I quickly expand a directory and all sub directories - on Mac OSX? (Natively in Finder I do this with Alt and then select the folder arrow and it opens all directories.)
Autocomplete Brackets
Submitted by flebber on Wednesday, 28 September, 2011 - 10:29
Hi

I am trying to find a way to enable automcomplete of brackets ( ) [ ] { } etc. The only thing I can find is a link to an unauthorized plugin called firstmate. Is there a way to enable autocompletion?
Vim-like command line
Submitted by imgod2u on Monday, 26 September, 2011 - 22:46
I'm curious whether there is a vim-like command line that I can access with a key shortcut in jEdit. Something that I can do things like s///g regex replaces, open a file, etc.

Being more keyboard-centric, the various GUI's can be rather cumbersome, especially the one for search-and-replace. It'd be easier (for me, at least) to be able to hot-key, open and type the filename as well as s///g for search-and-replace.
Special and accented characters get replaced with gibberish
Submitted by Dominicus on Monday, 26 September, 2011 - 01:46
Using jEdit 4.4.1 in Win7

Some of my files include strings with special accented and international characters.

These will display and compile fine during a jEdit session.
Then at random future opening of these files, jEdit will replace these characters with two other unrelated special chars.
How can I prevent jEdit from making these replacements?
Basic PHP completion
Submitted by nanuqcz on Sunday, 25 September, 2011 - 13:09
Hello,
how can I use PHP completion in jEdit? Something like this: michal.webshake.cz/userfiles/completion.png . I just want PHP native functions support.

If I use CTRL+B shortcut, I can see names of functions, but can't see any functions parameters or return types.

Thanks for answers
Global defaults not applied at start-up
Submitted by snark on Saturday, 24 September, 2011 - 05:33
( I've just started using jEdit, so probably done something dumb ... )

When I first start up jEdit, it doesn't apply the settings I changed under Global Options. After starting jEdit, I have to go to the Global Options dialog (where I can see that all my changed settings have been loaded), click Apply, then click OK, after which all the fonts, key assignments and so forth are applied. How can I make it do that automatically?

I'm running the Debian Linux jedit package, version 4.3.2.
How to run a second copy of jEdit?
Submitted by mabra on Friday, 12 August, 2011 - 20:50
Hi All !

I cannot longer organize my projects using jEdit, due to the inability of the project viewer to open more then one project at a time. I end up to have permanently open something like >> 100 files ...

Is there any way to start a second copy with another configuration?
So, rename the jar, copy it into another directory ... ?
Sorry, have less experience with java.

Any tips could be really great!

Thanks anyway and
br++mabra
Multiple empty tabs (buffers)
Submitted by Maxim Korobov on Tuesday, 9 August, 2011 - 09:27
When I press CTRL+N, jEdit allows me to open only one empty tab.
How to configure jEdit to allows me to open unlimited count of new docs?
font point to inch conversion different than usual typographic conventions?
Submitted by raisins on Saturday, 23 July, 2011 - 17:22
Hi,

I would like to set my printing font size and length of line (buffer options>wrap margin># characters) so that what I see on the screen is as it will be printed given the print margins I have set. So, I have a 6.5" wide print area (8.5" minus 2*1" margin) and found out that 9 point font should be 0.1245" width for each character (or 3.1627 mm). I then divided 6.5 by 0.1245 hoping to find how wide in characters my wrap margin should be set. The floor of this number is 52. Experimenting found this to be very wrong. I then held a ruler up to a page printed from jEdit using 9 point type and the character width is right around 2 mm. I could experiment around and find a margin that will work, but it would be nice to know the actual width of a point in inches or millimeters within jEdit (that way it is a bit quicker for future projects and more elegant). I suppose I could just dig out some calipers Eye-wink

So, am I being a total dunce here and missing the obvious or is 9 point font in jEdit not the same as usual? I thought perhaps the point system used was the Didot, truchet, postscript, or some other version, but none of these seem close (truchet makes the line too long on screen and the others too short).

Thanks,
Seth
setting things up for easy printing later?
Submitted by raisins on Saturday, 23 July, 2011 - 05:29
Dear all,

I would like my code to be formatted in a way where printing is easy. As is, jEdit indicates that my screen is displaying in Monospaced 12 plain font. The print options indicate that printing will be done in the same font except in 9 point font. However, when I print, the font is not 9 pt, it is still 12 pt. Am I missing something easy here?

I would like to set my font to 9 or 10 pt while editing and printing. However, when editing I would like to be able to zoom in (so 9 pt is bigger than it usually is). I have not found how to do this. When I set jEdit to 9 pt font, it simply shrinks the page and so nothing changes (I can fit no more text on a printable line). Any general advice would be appreciated. I am trying to format some code for publication, and I am not a computer scientist (perhaps obviously) and am looking for the most efficient way to do this. I'm pretty sure copying code into a Word .doc and formatting there would be a nightmare (and a duplication of work in some sense).

Thanks,Seth
fortran code.....changing commenting character to !
Submitted by raisins on Saturday, 23 July, 2011 - 04:40
Dear Community,

When I comment code I am getting the older fortran "C" comment character. I would like to change this to a !. Is this possible?

Thanks,
Seth
User login
Browse archives
« July 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   109183
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312