Using jEdit 4.3 pre 9, in my python code, escaped quotes (\") are confusing the syntax highlighting. For instance, in the line
req.write("
")
Everything is normal up to the first \". The [" | ] is black, then from [")] on throughout the program up to the next quote on the next line is considered a string. So everything is pretty much reversed after that.
It's very annoying. I've been forcing them to PHP mode just so my eyes don't go crosseyed with all the pink code.
Is there an update to the python syntax highlighting? I tried comparing the Python and PHP configs, but it was too confusing for me to follow.
I did find http://community.jedit.org/?q=node/view/1930#1625 which is relevant, but it isn't explicit enough on how to fix the problem for someone who hasn't worked on the mode files before. Besides, I can't be the only one who'se seeing this.
Thanks.
Not Going to Parent Directory" -->
File System Browser - Backspace --> Not Going to Parent Directory
Submitted by thamiral on Friday, 6 April, 2007 - 20:04
Dear All,
I'm running jEdit 4.3pre9 on Java 1.5.0_11 and I noticed that the File System Browser does not go to the parent directory when I hit backspace in the "File Name" text field, when there isn't anything in there.
Any ideas as to why this happened? The previous versions of jEdit never had this problem and unfortunately, no one seemed to have noticed this problem so far.
Thanks in advance,
Sincerely,
Taha
Opening CP850 encoded (DOS) files
Submitted by Fredrik on Thursday, 5 April, 2007 - 06:39
I'm having trouble opening CP850 encoded (DOS) files...
This encoding is described in the jEdit user manual, so it should work, but no luck yet for me.
Manual: On Windows, various other encodings, referred to as code pages and identified by number, are used to store non-English text. The corresponding Java encoding name is windows- followed by the code page number, for example windows-850.
So I select Other in the encoding menu and enter windows-850, cp850, Cp850 or CP850, but whatever I try, I get an IO error: java.io.UnsupportedEncodingException: Cp850.
Anything else I can try?
Problem with PHP syntax highligting 4.3pre9
Submitted by ovidiu on Wednesday, 4 April, 2007 - 20:37
Hello,
Since I updated to 4.3pre9, the PHP syntax highlighting gets broken after encountering escaped strings. Example:
$string = "something\"";
$highlighting = "is_now_broken";
It's very annoying, especially for long files. Does anybody have any idea for a fix? Thank you.
Errors Downloading/Installing plugins from Windows x64
Submitted by jtrupiano on Wednesday, 4 April, 2007 - 14:17
Hi, not sure if this is a 64-bit issue--
New user to jEdit. Looking for a Windows RoR editor. Tried RadRails, but it won't install on 64-bit.
Anyway, I tried to download/install the Ruby plugin, but I get the following errors:
Not sure if this is a "bug," or if it's a known issue. Or have I forgotten to do something. Note that this is a completely fresh install-- haven't done anything at all to it.
Thanks in advance.
-John
[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/ErrorList-1.4.2-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/RubyPlugin-0.8.1-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/SideKick-0.3.4-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
PHP Mode Bug?
Submitted by nolink on Wednesday, 4 April, 2007 - 10:38
Hi.
There is a strange behavior if you edit .php-files.
Fresh install of jEdit 4.3pre9/Java 1.5.0_11 on WinXP
Create a new file and name it test.php
Ending .php is important.
Fill it with this:
1 Tab (press the TAB-Key on your keyboard) and than write Hi that it looks like
TABHi
The tab in front of Hi is important (no possibility to write a tab in this forum nor write more than 1 blank space...)
Now put a : after Hi that it should look like:
TabHi:
with a real Tab instead of "Tab".
What you get is not what you want, you get this:
Hi:
The Tab is gone.
If you do that with a file named test.htm you will get what you want, but not with php.
I have this problem if I write css-code in html-tags in php-files.
You can ad some code to make it a real php-file (I can't do it here, tags are not allowed...).
Lu...
Error running jedit server in Win xp on limited account
Submitted by takeshin on Saturday, 31 March, 2007 - 16:06
When I start jEdit server
(newest jEdit, development version)
on a system startup in Windows XP Home
("C:\Program Files\jEdit\bin\jedit.exe" -background -nogui)
on limited user, no administrative rights account
I have following errors when opening files:
(rightclick, open with jEdit)
java.lang.NullPointerException: Null Pointer in Method Invocation
at bsh.Name.invokeMethod(Name.java:844)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:86)
at bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:84)
at bsh.Interpreter.eval(Interpreter.java:645)
at bsh.Interpreter.eval(Interpreter.java:739)
at bsh.Interpreter.eval(Interpreter.java:728)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:432)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:396)
at org.gjt.sp.jedit.EditServer$1.run(EditServer.java:343)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
This error does not occur on admin account.
How to fix this problem?
Help with indentation
Submitted by suramakr on Monday, 26 March, 2007 - 22:23
I am using jedit 4.2. I have the ruby plugin installed. My problem is with .rhtml files. Why won't the lines get indented properly?
all the html stuff, and scripts within the <% and <%= start from column 0. Any one has suggestions how I can fix this? anything in global options I need to set to correct this?
With ruby code I don't experience this, with every enter the cursor automatically positions itself at the right offset.
thanks
Sudhakar
xml-Plugin and xhtml-file-validation
Submitted by Ralph_W on Monday, 19 March, 2007 - 14:58
Hello i have a problem with jEdit / xml plugin
I want to validate xhtml documents with jEdit. I installed the XML-plugin and the required plugins (error list and the others) and everythings is going all right when I start jEdit. To test the function I'm opening a xhtml-file, which has some errors in it. But in the error-list there are no errors displayed. I think it has something to do with the DTD? The xhtml-DTD is in the first line of the file but I think it's not automatically dedected?
Thanx for help
Ralph
Avoid automatic ident, faults in php edit mode
Submitted by Hans_Bauer on Thursday, 15 March, 2007 - 09:14
Hello all and thank you for the great program.
I'm using a different style of programming and so the automatic identing of JEdit (e.g. on closing braces) is extremely counterproductive for me. Is there any possiblity to switch off all identing? Due to problems of inserting a code example within this topic, you may have a look at 'http://www.h-bauer.de/temp/identing-php.txt' to see my style of programming.
Programming some php routines i found that the php-edit-mode seems to be faulty. I'm very sorry, but i could not bring all code to be visible within this thread. So again i only can ask you to have a look at 'http://www.h-bauer.de/temp/identing-php.txt' to see the amazing colors when using the php-edit-mode.
Many thanks in advance for your assistance.
Yours
Hans Bauer
Use of # character in temporary buffer names
Submitted by mderouss on Sunday, 4 March, 2007 - 22:40
Not sure if this is a bug, but it's a problem for me.
I'm trying to use Infoviewer to view the output of an XLST transformation.
But the output of this transformation is placed into a temporary buffer, with a name that looks like '#Untitled-1#'.
Infoviewer appears to be treating the buffer name which it is fed as a URL. The presence of the '#', which is an unsafe character in a URL, therefore causes it to display a directory listing for the path up to the '#', which is perfectly reasonable behaviour for a browser under normal circumstances.
I can see two possible resolutions to this.
Firstly, Infoviewer treats a buffer name ( as opposed to a file name ) as something other than a URL. Might be architecturally tricky.
Secondly, JEdit ( if it is JEdit, as opposed to the XSLT transformer ) doesn't autogenerate temporary buffer/file names which would be invalid in URL's. This seems eminently reasonable.
So, what does the committee think - is this a bug ( and if so in what ? ), or a feature request ?
And on a related note, does anyone know a better way of achieving what I want to achieve ( automatic HTML preview of XSLT transformer output ) ?
Thanks,
Mark
modifying xml mode breaks auto-complete
Submitted by McSwell on Friday, 2 March, 2007 - 21:54
I copied the xml.xml mode file from the jEdit install directory to my .jedit directory (under docs-and-settings: this is on Windows). Then I slightly modified it by altering
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
to
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
for the case where Literal1 is begun by (and ended by) a double quote. (I did this to get the coloring to work right in a .xsd file, since quoted materials can easily span multiple lines.) I then altered the 'catalog' file in that same dir to refer to the local xml.xml file, by copying the entry for xml files from the catalog in the install dir.
But that seems to have broken the auto-completion, and auto-indentation as well. In particulary, when I type a tag
<foobar>
it used to be that jEdit would automagically supplying a close tag, giving:
<foobar></foobar>
(with the cursor conveniently placed between the two tags).
But with the modified xml.xml file, jEdit no longer does this.
Do I need to do s.t. else?
Mike Maxwell
strange behavior of the ftp-plugin
Submitted by vik on Wednesday, 28 February, 2007 - 09:06
Hi,
i'm using jEdit on a Windows XP SP2 maschine.
when saving small files via ftp-plugin to a unix-host, everything works fine.
If the file size increases up to ~3kB i receive execptions like:
java.net.SocketTimeoutExceptionjava.net.SocketTimeoutException
or
java.net.SocketException: Connection reset by peer: socket write error
This happens also in several combinations of jre ,jEdit and ftp-plugin, eg.
jre_1.5.0_06 and jedit_4.2 final with ftp-plugin 0.72
jre_1.6.0 and jedit_4.3pre8 with fpt-plugin 0.8
Any ideas or help?
Thanks a lot, vik
DB Terminal fails to connect to database
Submitted by polypus on Sunday, 4 February, 2007 - 15:57
i am running jedit 4.2final, and DB Terminal 0.1.1 on linux (ubuntu dapper).
i finally figured out how to install the java driver, i think?. i downloaded version
mm.mysql-2.0.14-bin.jar and put in in .jedit/jars. i was getting array out of bounds
errors with version 3.
in the DB Terminal connection window i have:
host: 127.0.0.1
database: depot_development
user: root
password:
DB Type: MySQL
but on connect i get the following error:
"Cannot connect to MySQL server on 127.0.0.1:3306.
Is there a MySQL server running on the machine/port you are trying to connect to?
(java.lang.NumberFormatException)"
i can log on just fine with:
mysql -u root --protocol=TCP --port=3306
and
mysql -u root --protocol=SOCKET
any ideas anyone? thanks many.
lost windows
Submitted by godfailed on Friday, 2 February, 2007 - 20:15
I use jedit from my thumb drive, which works just fine. But on one system my display is in portrait mode the other system is a regular 1280x1024 resolution. My problem is that when I open a dialog box (say for opening a file or search) the window placements are saved from my old system and are way off my screen and I Can't access the windows. is there any way to change what location the windows open at?
Java Heap Error
Submitted by WizardWilson on Thursday, 1 February, 2007 - 18:05
How do I adjust jEdit to allow the opening of larger files? I have reviewed the users guide as indicated but can't locate the spot or steps to correct my error.
PHP mode syntax highlighting broken by escaped quotes in 4.3pre9
Submitted by gribelu on Wednesday, 31 January, 2007 - 20:51
create a file in PHP mode and use this code:
The escaped quotes seem to break the syntax highlighting  ...
I tries using the modes (the modes/*.xml files) from pre8 but that didn't fix it. Had to go back to pre8
utilities>global options>text area>selection single imac g5 10.4
Submitted by dander on Wednesday, 31 January, 2007 - 19:56
01-31-06
I'm having problem with selecting data in a document with
the cursor. The selected data is comming up with a dark
blue back ground and the text can not be read.
When I do
utilities>global options>text area>selection single
the swatch shows a dark blue color and
when I try to change the color to a lighter
see through color like white or pastel blue then OK
the text area panel comes back with white
in the swatch. I press apply then OK.
The selection in the document is still dark blue
if I then do
utilities>global options>text area>selection single
the swatch has reverted to dard blue.
This problem started two days ago after the Apple store
tech remove a jammed cd and reinstalled imac g5 osx 10.4,
and I installed all Apple updates, which included a new version
JAVA. I downloaded jedit4.3pre9install.dmg and the probem started
occuring. I need advice on where to find a solution as I've
spent two days trying and have had no luck.
thanks
dander@bestweb.net
Ftp plugin is so slow on jedit 4.3pre9
Submitted by Reeves1016 on Saturday, 27 January, 2007 - 02:29
My platform is Ubuntu 6.10 and JDK6.0,and I find that the ftp plugin on this new version open files on ftp server so slowly.Does anybody have the same problem?
Browse archives
|
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
|