jEdit Community - Resources for users of the jEdit Text Editor
Archives
Highlighting numbers - problems with names using underscore + digits
Submitted by goebbe on Wednesday, 15 December, 2004 - 11:35
Hello,

I use the HIGHLIGHT_DIGITS="TRUE" attribute and have the following problem:

When using variable names which contains underscore + digits the
digits are highlighted.
For example:
variable_2 = 4;
Here the 2 and the 4 are highlighted.
Does anybody has an idea how to prevent the number after an underscore to be highlighted.

I already tried to fix the problem with the : DIGIT_RE= and the NO_WORD_SEP rules
unfortunately without the desired result.

Thanks a lot in advance
goebbe
Macro to Sort lines like in Ultraedit?
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 13:56
Hi, What's cool with Jedit is that if you have a simple feature request, you can make it yourself.. I just upload a jedit macro which is able to sort lines in ascending/descending order. Available options are
  • Remove duplicated lines
  • Ignore case sorting
Check it at http://community.jedit.org/?q=filestore/download/1943 and tell me if you find it usefull. Enjoy Smiling
Macro to sort lines like in Ultraedit?
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 13:57
Hi, I just upload a jedit macro which is able to sort lines in ascending/descending order. Available options are
  • Remove duplicated lines
  • Ignore case sorting
Check it at http://community.jedit.org/?q=filestore/download/1943 and tell me if you find it usefull. Enjoy Smiling
Macro to sort lines like in Ultraedit updated (Sort_Lines.bsh v1.1 by Pascal Dal Farra)
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:12
Hi, Here is an update of the sorting macros This macro is able to sort lines in ascending/descending order. Available options are
  • Remove duplicated lines
  • Ignore case sorting
Enjoy Smiling
Upper/Lower/Invert/Capitalize Case Macros WHITHOUT unselecting text (CaseMacros.zip v1.0 by Pascal Dal Farra)
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:25
4 separated macro that allows to change word case of selected text WHITHOUT unselecting text:
  • - Upper Case
  • - Lower Case
  • - Invert Case
  • - Capitalize Case
Enjoy :-)
Upper/Lower/Invert/Capitalize Case Macros WHITHOUT unselecting text
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:28
Hi, Here are 4 separated macro that allows to change word case of selected text WHITHOUT unselecting text:
  • - Upper Case
  • - Lower Case
  • - Invert Case
  • - Capitalize Case
Check it out! and enjoy Smiling
Upper/Lower/Invert/Capitalize Case Macros WHITHOUT unselecting text ?
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:29
I did'nt find the feature.. I made it Smiling 4 separated macro that allows to change word case of selected text WHITHOUT unselecting text:
  • - Upper Case
  • - Lower Case
  • - Invert Case
  • - Capitalize Case
Check it out! and enjoy Smiling
Can I make sidekick structure browser show PHP instead of HTML structure for my PHP files?
Submitted by Anonymous on Wednesday, 15 December, 2004 - 18:54
I edit PHP files with lots of PHP code wrapped in tags. I have Sidekick and PHPParser (plus XML and various other plugins). The buffer is shown as PHP mode and gets nice PHP syntax highlighting, but sidekick seems to show only the structurue of HTML tags scattered through my code (ie. no PHP functions etc). So sidekick folding doesn't work as you'd hope either - switching to 'indent' folding lets you fold PHP functions as you'd expect, but I'd love to use the structure browser to navigate thru the PHP functions like you'd do with a java source file. Is this possible - am I doing something stupid? I don't read this list religiously, any replies to pds@quadstone.com greatly appreciated.
jEdit 4.1 launcher works well with jEdit 4.2
Submitted by kaimonica on Wednesday, 15 December, 2004 - 20:17
1. Install jEdit 4.2.
2. Install jEdit 4.1 -- select only the windows integration component.
3. Run "Set jEdit parameters" as in jEdit 4.1.

This seems like an easy way to use jEdit 4.2 and still be able to use the 4.1 launcher.
Now you can happily associate file types as in jEdit 4.1.
Improving latex editing possible?
Submitted by weimer on Wednesday, 15 December, 2004 - 20:33
I am currently investigating my possibilities to switch to jEdit from Emacs on Mac OS X. So far, I think jEdit may replace Emacs for my programming needs.

But: The LaTeX editing mode needs some polish when compared with Emacs which I would possibly be able to do myself. I would really appreciate any hints on how to accomplish the following changes:

- a \section{} and related commands shall be treated as a paragraph on their own when reformatting paragraphs. Having to keep a empty line after them to prevent the formatting is very annoying.

- The indention in "description" environments is suboptimal. The indent should be like this:

\item[jEdit: ] Some nice text Editor I need to write about here.
_______________Some nice text Editor I need to write about here.

The '__' should be an indent until the second "Some" is alligned exactly the way the first line is.


Instead of:

\item[jEdit: ] Some nice text Editor I need to write about here.
Some nice text Editor I need to write about here.

Is it possible to accomplish something along these lines with jEdit?

Greetings,

Markus
Disabling Multiple Instances
Submitted by Anonymous on Wednesday, 15 December, 2004 - 21:53
Greetings Friends!

I'm a web designer who has just begun using jEdit for coding.

What a wonderful application!

My question is regarding multiple instances.

I often use FileZilla to 'View / Edit' my files. Whenever I do this, a new instance of jEdit is opened, even if the file is already open in jEdit.

I've looked all through the options and cannot find anything relating to multiple instances. Is there any way to disable them?

Thanks so much!

vavrek

~ free music for the now age ~
vavrek.com
Forum Search?
Submitted by Anonymous on Wednesday, 15 December, 2004 - 23:02
Is there a forum search? or is it only available to registered users? I've used the search at the top of the page, but that appears to just be a site news search.

Thanks!

Mike
Uninstalling JEdit in linux
Submitted by Anonymous on Thursday, 16 December, 2004 - 11:00
Hi ! My JEdit installation have become corrupt somehow and does not allow me for installing any new plugins for example. When do I need to remove in order to uninstall everything gor making a new fresh installation ? When I delete the /home//jedit folder, and the /home//bin/jedit link and install again using the Java installer, everything is just the same as before. All settings, plugins and even buffers are still there. Regards Niklas
XSLT code aid?
Submitted by pjlehtim on Thursday, 16 December, 2004 - 13:02
Hi.

Is there any way to get XSLT code aid for jEdit? Would be nice to availiable options for xsl: tags.

-Pasi
JavaStyle on whole directory
Submitted by Anonymous on Thursday, 16 December, 2004 - 16:20
Is it posible to call JavaStyle beautifirer on all files in some directory and all subdirectoryes?
Launcing a new jEdit instance?
Submitted by pjlehtim on Friday, 17 December, 2004 - 08:29
Is is somehow possible to launch another instance of jEdit? What I need is to have two different sets of buffers. I edit multible XSLT files and multible input files. I don't want to have them all in the same buffer tab list(its getting too long and its hard to find the buffer I want). The best way would be to have Linux like virtual desktops inside jEdit. Just two separare buffersets and a keyboard shortcut to switch between them. But for now I'd be happy just to launch another jEdit instanve with separate set of buffers. Any way I can do that?
handling user input
Submitted by escalope on Friday, 17 December, 2004 - 09:59
Hello JEdit developers

I am trying to develop a plugin and have at the moment the following problem. My plugin needs to intercept key events sent to the main jedittextarea and remove some keypress events when they are not appropriate (say that the user types "t" and I don't won't that letter to appear in the jedittextarea). My plugin at the moment does receive key events, it can interact with the jedittextarea, but cannot suppress keypress actions, even if I invoke the consume method in a custom key listener and put this one in first place in the keylistener list.

I know how to do this with the conventional javax.swing.jtextarea but found no way to do solve the problem without modifying the jedit sourcecode.

How can I prevent a jedittextarea to type certain letters at certain moments?

Btw, I don't think that using keystrokes is a good solution since I ought to make continuous changes to existing key bindings.

Thanks in advance

Jorge
Problem with soft wrap
Submitted by Anonymous on Saturday, 18 December, 2004 - 05:13
Using soft wrap, the text is wrapping every line at a character count significantly below the wrap margin value (not because of word breaks). The text is wrapping where the wrap guide is shown, and when I hover the mouse over the wrap guide the wrap margin value is correctly displayed, but when I count the characters up to the wrap guide the number is much less than the wrap margin value (e.g., soft wrap occurs after character 45, even though wrap margin is set at 75). Problem appears to be independent of font selection.
find and replace
Submitted by Anonymous on Saturday, 18 December, 2004 - 17:30
I need to replace 3 lines of code, each line is on a seperate line in the file. I have to replace it with 4 lines of php code, however when I copy my 3 lines into the jedit editor, it puts them all on one line and so doesnt find the lines that need changing.

It appears it can only search for a string or something to replace providing its all on one line, what about if i want to replace a block of code in 45 files like I need to now?

How do I do that?
thnx
Spell Check plugin not work
Submitted by Anonymous on Saturday, 18 December, 2004 - 18:31
Hello, (my English is bad, it's not my native)

When i install Aspell and dictionary (Czech) and run plugin in jEdit, this ends with error:
Error: (Aspell) is: Cannot access aspell process: Přesměrování se uzavírá. (this is my native language, in english: "Redirection is closing".)

jEdit runs on WinXP Pro, version 4.2 final.

Please, help me. Thank you. Tom.
User login
Browse archives
« December 2004 »
MoTuWeThFrSaSu
 
15
24
25
28
 
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   108249
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309