jEdit Community - Resources for users of the jEdit Text Editor
add a line to every line in a file?
Submitted by jbrave on Tuesday, 8 May, 2012 - 03:14
I want to take a text file which is a program source, and insert a print statement after each line, for example if line 1 is:

x=5

then insert
print "line 1: x=5"

so that when a program crashes hard (as in, the system reboots before I can see what happened) at least I can see the last line that executed.

Is there some kind of macro or plugin that I can use to do things like that?

Thanks.

- Joel
Search in directory encoding exception
Submitted by yohann.martineau on Thursday, 26 April, 2012 - 16:00
I try to use jedit to make recursive text search in all files in a directory.

When I perform a search, jedit complains about cp1252 encoding not applicable on pdf files. Yes, I'm on windows xp...

The file could not be loaded correctly (some data might be lost) with
the encoding "Cp1252".
(java.nio.charset.UnmappableCharacterException: Input length = 1)
Try selecting a different encoding.
It can be selected with the menu File->Reload with Encoding.
If you want it to be done automatically, add the candidates into
"List of fallback encodings" in Encodings pane of Global Options.


I don't understand why jedit tries to search in pdf files as pdf files are binary files. Does it try to extract text from pdf files and then apply an encoding to find text?

It seems that jedit can skip binary files, it seems to be an interesting feature, but I don't know how jedit considers files as binary. If I uncheck "skip binary files", the same exception pops out but for bin files, obj files, etc. I've been looking at the documentation, but cannot find anything about binary files association. I think this behavior is expected, but not very user friendly.

Is it possible to use jedit to search in all binary files as well?

Does it just try to decode the file using its default encoding (cp1252, I'm on windows xp) and considers the file as binary if it fails? (I guess it's not that simple)


thanks,

yohann
Disabling FTP/SFTP welcome message dialog
Submitted by rubio.terra on Thursday, 19 April, 2012 - 13:03
Is there a way to disable the FTP/SFTP welcome message dialog that pops out when connecting to a VFS using the FTP plugin? The problem is that every time a remote buffer is saved (Ctrl+S), the same nagging welcome message from the server appears.
Default jEdit keyboard shortcuts conflict with OS X?
Submitted by patricksurry on Wednesday, 18 April, 2012 - 16:28
Sorry, this feels like a stupid question, but can't find an obvious answer anywhere.

I've recently moved from Windows to Mac and brought jEdit with me, and been confused about why the 'go to recent buffer' key wasn't working (command-`). Eventually discovered it was because OS X already uses that binding for 'show-next-application-window'.

Is there any standard set of OS X keybindings for jEdit that avoid these kinds of conflicts, or do I need to roll my own? Seems like something lots of OS X users would run into?

Thanks.
Right Gutter/Column That Shows Selection Locations - Looking for it
Submitted by hurricanedavid on Thursday, 29 March, 2012 - 17:09
How do you activate the thin column that is on the right of the editing space, next to the scroll bar, that will indicate all other occurrences of the selected word? I find that invaluable.

I stumbled upon it by accident before, but my settings folder got erased and I have to start over. I don't know what it's called, or if it is a plug-in or what.
newbie problem-Help! fonts don't work
Submitted by cristyla on Thursday, 29 March, 2012 - 13:46
Hello, I am new in using Jedit, and for some reason my Jedit doesn't like any foreign fonts-more specifically french accents, and greek. They are not displayed as they should be. Can anyone guide me on how to fix this? thanks!
Buffer options - syntax highligting not preserved on reload
Submitted by Cheruvim on Thursday, 15 March, 2012 - 15:14
Hey all,

I'm not sure if this is a bug or not, so I will open up a discussion here to point it out.

It seems that if you change the buffer option, specifically, syntax highlighting and then an external program (like say svn or git) changes the physical file on the file system, jedit will ask you if you want to reload the file. When you do, the highlighting reverts back to whatever the global settings are. Shouldn't it preserve what the buffer settings are if they are meant to override the global?

To reproduce this.

1) open a file type that uses a specific syntax highlighting (like C++ or PHP)
2) change the buffer options to use a different highlighting (Java or Perl)
3) change the file outside of Jedit
4) Bring Jedit back into focus and either agree to have it reload the file (I have it set to prompt) or watch it reload (if you set it up to do so automatically [haven't tried this]) and you should see the highlighting revert back to the global options.


Thoughts?
Question on Indenting
Submitted by ajudge on Monday, 5 March, 2012 - 06:25
Hi,
I'm trying to create an edit mode to do syntax highlighting and auto indenting for an obscure language, but I'm having trouble defining the correct XML to achieve what I want.
I would like all lines following the word Begin to be indented until the next occurrence of the word Begin. Each word Begin should be at the same indent level.

i.e.
Begin
Indent this line
Indent this line
Begin
Indent this line
Indent this line
Beauty Plugin
Submitted by bulat on Saturday, 3 March, 2012 - 12:35
Hi! Is there Beauty Plugin manual? I can't configure it to work properly.
Need syntax highlighter for C Sharp
Submitted by Spokane-Dude on Monday, 27 February, 2012 - 19:59
Where can I find a syntax highlighter for C#?
SuperAbbrevs : is there a way to export/import abbrevs/expansions ?
Submitted by jojaba67 on Monday, 20 February, 2012 - 21:25
Hello,

The question is in the title...

Thanks in advance. Smiling
text url encode decode plugin?
Submitted by jbrave on Saturday, 18 February, 2012 - 19:45
Is there a plugin that would let me highlight a string and urldecode it or vice versa?

Thanks.

- Joel
New WhiteSpace Plugin Dialog
Submitted by akovia on Wednesday, 15 February, 2012 - 00:46
I wanted to create a custom button to launch this dialog, but there is no action entry in the tool bar or menu editors. I compared the actions.xml of this and the seesions's plugins as they both launch dialog boxes, but I wasn't able to figure anything out.

Is this by design?
how to manually change syntax highlighting from menu
Submitted by masuch on Monday, 13 February, 2012 - 01:05
Hi,

I would like to know if it is possible to change manually syntax highlighting to get immediate syntax colouring changes (no reload , no restart).
(This behaviour has notepad++, kate, gedit and many other editors.).
Does exist any plugin/s ?
How to do it ?
For instance it would be useful if I have mix of different programming languages in one file or if I need to quickly change syntax highlighting.

Thank you for any kind of help.
Regards,
Martin
XML open and close tag highlight
Submitted by yookoala on Sunday, 12 February, 2012 - 07:01
Hi all,

I have been using jEdit for quite some years. There is a feature I need but I don't know how to enable it.

I'm a PHP developer. There are many HTML jobs involved in my code. I want to see the closing tag when my cursor is on the open one (and the other way round). I found that jEdit can do that sometimes. But after some time, the feature seems to be gone. I couldn't figure out how to keep that feature in place.

Can anybody tell me how? What modules should I install? What modules should I NOT install? Do I need to do any configuration?
Question about main Text Area Syntax Highlighting details.
Submitted by Zachary1234 on Monday, 23 January, 2012 - 09:48
I have changed the white text background to black, and the text colour to green.

-I notice that round braces ()
and curled braced {}
don't show up visually at all. How May I change this?

-Is there a compile button and or a run button inside jEdit?
Shuffle variables within selection?
Submitted by optigon on Thursday, 19 January, 2012 - 22:03
Long time user of Jedit, but only used to the things I do on a regular basis.

It dawned on me today that there might be a macro or plugin for the following, but I am not really sure what it would be called.

Situation:
There is a line of code with a function including 2 or more variables.
eg. foo(A, B, C)

By selecting "A, B, C", is there a way to suffle their order left or right?
The result would be foo(B, C, A) after using the command once.

I ask because to do this using copy/paste normally requires 2 copy/paste operations.
1. Select and copy "A, "
2. Pasting at the end of the statement gives foo(B, CA, )
3. Select and copy ", " and paste it between CA

Shuffling would either be to the left or right, moving the first or last element to the opposite end of the selection. Returning the with all the items still selected would be useful for multiple iterations.

A shuffle tool that was space and comma sensitive would reduce these edits to a single operation. Perhaps there could be a setting to tell the command what characters represent variable separators (comma, space, math operators, colons, etc)

Having this work for collumn selections would be useful too.

Maybe I'm a lazy coder Smiling
Calling Perl Compiler from jedit
Submitted by rovf on Wednesday, 11 January, 2012 - 12:44
I'm using jEdit mainly to edit Perl and Ruby programs.

Is it possible to configure jedit, so that it invokes, say, Perl -c when saving a file, and have it display the errors? I first thought that the ErrorList plugin would do the job, but it doesn't. I guess I need some "supporting" Plugin which "knows" about Perl. I have already installed PerlSideKick, btw.
Highlight all matches with 'find'
Submitted by seminal on Thursday, 5 January, 2012 - 21:09
New to Jedit - liking it so far. When I hit ctrl + f to find something, it only highlights the first matched result. How do I set it to highlight all the matches on the script?

thanks
Possibility to reactivate the I-O Monitor
Submitted by barcla on Tuesday, 20 December, 2011 - 15:12
Hi,
I ask the possibility to reactivate I-O Monitor, inexplicably disappeared in the r. 4.5.pre 1; according to my opinion it worked better of the Task Monitor and in more precise way.

Tanks.

Excused for my poor english.

Clòaudio Barbiero.
User login
Browse archives
« April 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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293