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
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
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.
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.
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
Is JEdit incompatible with my programming style?
Submitted by
fmart on
Tuesday, 14 December, 2004 - 17:08
Hello.
I'm new to JEdit (and Java) and I've found an annoyance in the way JEdit treats my programming style. It seams that everybody except I writes "obj.method/params)". I write "obj.method (params)" (note the space between "method" and "(".
Well, because of that, JEdit doesn't mark my method calls like so. I took a look on the Java mode file and discovered that the way JEdit highlights methods won't work for me because it uses (I think): ( But the space I put before "(" breaks this, because it separates the tokens.
Is there a way to avoid this problem besides changing my style? Am I the only sole with this style????
Thanks.
Auto-indentation in a new edit mode
Submitted by Anonymous on Thursday, 9 December, 2004 - 09:53
Hi, I've been writing an edit mode for the ABB RAPID industrial robot programming language. Just one thing outstanding - Auto Indentation
In UltraEdit, the following lines work. I need to do the equivalent in jEdit.
/Indent Strings = "ELSE" "ELSEIF" "THEN" "DO"
/Unindent Strings = "ENDIF" "ELSE" "ENDFOR" "ENDPROC" "ENDMODULE" "ENDWHILE" "ENDFOR" "ENDTEST"
Here are a few examples of how the RAPID code looks. Note there are no brackets used in structuring these statements in this language. Can jEdit handle this or not?
IF nCurrentTable=1 THEN
pBegin1.trans.z:=nMaxDistT1;
pEnd1.trans.z:=nMinDistT1;
ELSEIF nCurrentTable=2 THEN
pBegin1.trans.z:=nMaxDistT2;
pEnd1.trans.z:=nMinDistT2;
ENDIF
WHILE NOT ConditionsOK DO
IF (diCtrl_Vacuum1=0 AND boEnable_Ch1=TRUE) RETURN TRUE;
ConditionsOK:=TRUE;
ENDWHILE
FOR i FROM 1 TO 10 DO
routine1;
ENDFOR
But the following "compact" (one-line) IF statement should not have the next line indented:
IF di3_LayerOrd=1 Layer;
Thanks for any help!
Andrew
V4.2: Syntax highlighting for nested quotes (re-entered with line breaks)
Submitted by
cpotting on
Wednesday, 8 December, 2004 - 02:38
Hello everyone, I am a new user to jEdit and love it. However, I am
having a problem trying set up the SPAN/SPAN_REGEXP to handle nested
quotes.
The language I am trying to handle is an implementation of Lua (CELX
scripting for the open source program Celestia), and allows the
double and single quotes to be included in strings using a backslash.
for example:
text = "the \" character is a quotation mark"
more = "hello"
The default rules for Lua highlights would cause - "the \" - to be
higlighted as quoted, - character is a quotation mark - to be treated
as code and - " more = " - to be highlighted as quotes.
Essentially, I need to jEdit to recognise that " and ' are only
quotes if they are not preceeded by a \. I tried using SPAN_REGEXP.
This worked for recognising the opening quotes, but since the tag is
not evaluated as a regular expression, I could find no way to get it
to skip occurences of \" and \'.
Does anyone know of a way to do this? Thank you.
Clive Pottinger
Forcing syntax highlighting
Submitted by
pdfneuro on
Tuesday, 7 December, 2004 - 16:45
Hi,
I would like to know how to force JEdit to use a specific syntax highlighting mode(xml, php...), no matter what is the file extension and its content.
Thanks for helping.
V4.2: Syntax highlighting for nested quotes
Submitted by
cpotting on
Tuesday, 7 December, 2004 - 12:37
Hello everyone,
I am a new user to jEdit and love it. However, I am having a problem trying set up the SPAN/SPAN_REGEXP to handle nested quotes. The language I am trying to handle is an implementation of Lua (CELX scripting for the open source program Celestia), and allows the double and single quotes to be included in strings using a backslash (e.g.
text = "the \" character is a quotation mark"
more = "hello"
The default rules for Lua highlight would cause - "the \" - to be higlighted as quoted, - character is a quotation mark - to be treated as code and - " more = " to be highlighted as quotes.
Essentially, I need to jEdit to recognise that " and ' are only quotes if they are not preceeded by a \. I tried using SPAN_REGEXP. This worked for recognising the opening quotes, but since the tag is not evaluated as a regular expression, I could find no way to get it to skip occurences of \" and \'.
Does anyone know of a way to do this?
Thank you.
LISP programming with jEdit
Submitted by Anonymous on Tuesday, 7 December, 2004 - 04:30
I'm just starting to learn Common Lisp and I was wondering if anyone here is using jEdit to edit Lisp code, and if there is anyway to get access to a REPL from within jEdit like in Emacs. Any other hints/suggestions would be appreciated.
thanks,
Matt
few questions
Submitted by
fdejaigher on
Sunday, 5 December, 2004 - 23:09
HTML
How to replace accents by html special character code ?
For exemple: é => é
Is there an auto replace function ?
perl system variable
Submitted by Anonymous on Sunday, 5 December, 2004 - 01:44
Ok, i have jedit and activeperl installed, but i can't seem to be able to run my .pl file's in MS DOS's. I do Run>cmd then go to wherre the pl file is located, but when i type it in and it runs it runs in a notepad and just show's the code. How do i change it so i will show the output of my code in dos i know you can do it in HTML. Anyhow, i know u have to go in system variables and change something, but i can't remember what i have to type dose anyone else?
What are these ._ files?
Submitted by
joelwyland on
Friday, 3 December, 2004 - 19:17
I tried searching the forum but searching for ._ isn't that successful.
Sometimes when I'm editing files, some sort of tmp file is left behind. For example, Foo.java and ._Foo.java
The ._ file isn't a copy of the original, it's always 82 bytes of non-visible text. I know this isn't my autobackup because it's not a copy of the file and I have my auto-backup set to go to a specific directory on my hard drive.
Any suggestions are welcome because those extra files keep messing with my source code repository operations.
Thanks!
Kenny
How to enabled "Buffer Tab" ?
Submitted by
cyu021 on
Friday, 3 December, 2004 - 04:16
Hi folks,
I've been looking all over the configurations available in jEdit, but I couldn't find one to enable "Buffer Tab".
I really like to have my jEdit looks like this (just the buffer tab part):
http://www.jedit.org/index.php?page=screenshot&image=14
Any help would be greatly appreciated.
James
Newbie: java mode quirk
Submitted by Anonymous on Wednesday, 1 December, 2004 - 23:04
Hello.
I'm new to JEdit (and Java) and I've found an annoyance in the way JEdit treats my programming style. It seams that everybody except I writes "obj.method/params)". I write "obj.method (params)" (note the space between "method" and "(". Well, because of that, JEdit doesn't mark my method calls like so.
I took a look on the Java mode file and discovered that the way JEdit highlights methods won't work for me because it uses (I think):
(
But the space I put before "(" breaks this, because it separates the tokens.
Is there a way to avoid this problem besides changing my style? Am I the only sole with this style????
Thanks.
Filipe Martins
filipe.martins at free-spy.net
∫ instead of int followed by a space?
I am using jEdit to try to write in java and when I try to enter int then as soon as I type the space the 'int' disappears and is replaced by this character ∫
It's really not much of a problem but does anybody know why?
Thanks,
Rob
Tag completion with XML plugin
Submitted by
rickindy on
Tuesday, 30 November, 2004 - 08:09
Is it necessary to have a DTD in order to get the tag completion feature in the XML plugin to work? In version 3.x of jEdit, this wasn't necessary, but it apparently is is the current version.
I've done a clean install of 4.2 and all the required plugins.
Thanks.
PHP syntax highlight colors
Submitted by Anonymous on Monday, 29 November, 2004 - 22:37
I was just playing around with the "Editor Scheme Selector" pluging and accidently change my scheme color. Now i can't get the colors that i had set up for syntax highlighting. I mainly use jEdit for PHP and CSS. Does anyone have a screenshot of their PHP syntax highlight colors that i can use to reference?
Linux / WIndows - Files
Submitted by Anonymous on Monday, 29 November, 2004 - 07:51
Hello,
often i have to share text files between linux & Windows.
How can i change the 0x03 Byte at the end of Windows Text
to something ?
Thanks horst.