Non-standard characters not displayed
Submitted by
agoston on
Monday, 30 October, 2006 - 15:22
Hi!
When I'm editing a file (even a newly-created one), whatever non-standard characters (e.g. é, á, ü, ö, etc) I type, it's only a small square displayed in place of them. If I edit an existing file and then save it, the non-standard characters get messed up in it (shown as '?' if I look at them with another editor).
This is the command I run jedit with:
.../java/jdk/1.5.0_09/bin/java -Xmx512m -jar /home/agoston/jedit/4.2/jedit.jar $@ 2>/dev/null >/dev/null
(But it behaves the same way with other JVM versions.)
I'm working on SUSE Linux 10.1.
Some relevant settings:
Utilities / Global options / general /
default character encoding: ISO-8859-1 (but there's no difference in behaviour if I set it to e.g. UTF-8)
Auto-detect file encoding when possible: YES
Any idea on how to get jedit to get non-ISO-8859-1 characters right?
Thanks!
Agoston
File encryption
Submitted by
mserero on
Monday, 30 October, 2006 - 17:48
I have some files that contains sensitive information and I would like to save them encrypted.
I use JEdit with openSSH to retrieve files from a server and I am wondering if there is a way I could use that feature to save sensitive file locally.
Any suggestions?
Open Buffers not Remembered in 4.3pre7
Submitted by
jpavel on
Monday, 30 October, 2006 - 19:23
After upgrading from pre6 to pre7, the perspective.xml file that stores the state of jEdit's open buffers is no longer written to disk when I quit, and thus whenever I run jEdit I see the buffers that were open when I last quit pre6. My preferences are the same between the two versions.
Did anyone else run into this?
~Jesse
Remove blank lines
Submitted by
maxie_ro on
Tuesday, 31 October, 2006 - 09:21
There is something I would like to see implemented in jEdit, if it's possible:
A customizable feature to remove blank lines, similar to Alt+R in Notepad2.
For example, the user can opt to remove all blank lines, or where the number of consecutive blank lines is higher than a certain number (for example, remove a blank line where there are >= 2 blank lines).
Thanks!
XMLPlugin with entity preview
Submitted by
stefanl on
Wednesday, 1 November, 2006 - 09:58
This plugin is almost perfect! I only lack one functionality and that is preview of an entity using the tag/entity completion list.
The idea is that when I type & the list appears and when I highlight an entity in this list a small preview window will appear next to the completion list. This is a great feature when you have and makes it allot easier to know what each entity stands for.
Regards, Stefan
how to avoid capturing output from console ?
Submitted by
tub on
Wednesday, 1 November, 2006 - 19:15
Hi,
I searched a little bit but could not find the option to disable this feature. Any hint?
thanks
wei
how to set up simple IDE? how to download plugins?
Submitted by
Jim on
Thursday, 2 November, 2006 - 05:39
hello, I just downloaded jEdit to replace jGRASP; I want smart indenting. But jEdit is not an IDE, just an editor. There are lots of plugins but I dont' know what's what. What are simple plugins to download that give me an IDE with debugger that steps through code, data structure examiner, compiler, and code editor with colored syntax and smart indenting?
Also, when i try to download I get a connection error. I selected some plugins and tried to install but it didn't succeed in downloading them..."An I'O error occurred, connection refused (connect)"
Thanks very much for any assistance,
Jim
APDL v2 Edit Mode (apdl2.zip v0.9.9 + by Sven Gleich)
Submitted by
Sven Gleich on
Thursday, 2 November, 2006 - 09:55
Edit mode for APDL Language based on the APDL.xml version 0.9.8 by Randolf Mock
Works with jEdit 4.2final (APDL2.xml v0.9.9), for different syntax highlighting the Editor Scheme Plugin v1.0 is required
Works with jEdit 4.3pre7 (APDL2.xml v0.9.11), for different syntax highlighting the Editor Scheme Plugin v1.0 is required
Tested with jEdit 4.3pre18 (APDL2.xml v0.9.11) and Editor Scheme Plugin v1.2
Improved
========
- recognition of digits with exponents
- doubles in *get-function tags changed
- doubles in ansys commands deleted
- together with APDL2.jedit-scheme (via the Editor Scheme Selector Plugin)
colours similar to UltraEdit-32 APDL syntax highlighting
Changed:
========
<KEYWORD1>: ANSYS commands
<KEYWORD2>: ANSYS star commands (e.g. *get)
<KEYWORD3>: ANSYS command options
<KEYWORD4>: ANSYS slash commands
<FUNCTION>: abbreviated *get commands
Install:
========
Put the APDL2.xml into the <jedit>/modes folder.
Add the following lines to the catalog-file:
<MODE NAME="apdl2" FILE="apdl2.xml"
FILE_NAME_GLOB="*.{ans,inp,mak,mac,apdl}" />
Remove the lines with the <MODE NAME="apdl" ...>
or make changes to the file extensions.
Install the Editor Scheme Plugin if required.
Put the APDL2.jedit-scheme into the <user-home>/.jedit/schemes folder.
Activate under Plugins -> Editor Scheme Selector the APDL2 scheme with "Apply".
Bugs
====
- frequent use of the keyword "node" inside the xml is not been distinguished between keyword1 and keyword3
- "pres" as a get function and "pres" as a abbreviation for "presol" is not been distinguished
- the topic to the keyword "node" does also apply to pres, temp, volt, mag, vx, vy, vz,...
2009-Nov-10 bugfix (comment with utf-8 character changed)
console path
Submitted by
mauricio on
Thursday, 2 November, 2006 - 22:15
the default directory of console is the jedit's parent directory.
Is there a way to change this and set the default path to the parent directory of the current buffer?, this would by useful to run ruby scripts.
thanks in advance
How to switch between split windows without using mouse click?
Submitted by
kenweb on
Friday, 3 November, 2006 - 23:38
currently, I use mouse click to switch to different split windows within Jedit, is there a keyboard shortcut I can use to do that?
Thanks.
4.3p7: Paint errors
Submitted by
Baldurien on
Saturday, 4 November, 2006 - 23:29
Hi, I have this exception in Activity Logs :
[error] ExtensionManager: Error repainting line range {0,41}:
[error] ExtensionManager: java.lang.ArrayIndexOutOfBoundsException: -42
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.canMerge(DisplayTokenHandler.java:226)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.merge(DisplayTokenHandler.java:193)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.handleToken(DisplayTokenHandler.java:94)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.TokenMarker.markTokens(TokenMarker.java:250)
[error] ExtensionManager: at org.gjt.sp.jedit.buffer.JEditBuffer.markTokens(JEditBuffer.java:1218)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.lineToChunkList(ChunkCache.java:771)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.updateChunksUpTo(ChunkCache.java:646)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.getLineInfo(ChunkCache.java:255)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ExtensionManager.paintScreenLineRange(ExtensionManager.java:102)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.Gutter.paintComponent(Gutter.java:131)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1005)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
[error] ExtensionManager: at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
[error] ExtensionManager: at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
[error] ExtensionManager: at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
[error] ExtensionManager: at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[error] ExtensionManager: at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
[error] ExtensionManager: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[error] ExtensionManager: at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[error] ExtensionManager: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
That the first time I see it.
If someone has an Idea?
Hardware:
Gigabyte-965P-DS4
C2D E6400
1G Ram
MSI7900GTO512MB (drivers: 93.71)
Suggestion on plug ins?
Submitted by
Jim on
Monday, 6 November, 2006 - 04:35
Hello, I'd like to set up a nice IDE with debugger that can step through code. What are the essential plug in to install?
Also, I get a connection error when I try to download plugins. Does anybody know where I can get help?
Thanks
Jim
Syncronize working directory of console and/or beanshell with current buffer (ChangeDirectory.bsh v1.4 by Robert Schwenn)
This macro changes the working directory of console plugin and/or beanshell to the current buffer's parent directory. This is controlled by two properties, which have to be set manually.
The macro is intended for use with the action hooks pugin, bound to the events "BufferUpdate.LOADED" and "EditPaneUpdate.BUFFER_CHANGED". So the working directory of console is synchronized with current buffer (almost) every time.
Last Update: Now for Linux, too: Invoke cd command only, if buffer directory really has changed.
C mode line comments
Submitted by
prg on
Monday, 6 November, 2006 - 23:03
Using jEdit4.2final. Problem with mode C and line comments.
#define SAT_DEFAULT 128 // Saturation Control Register [128/0x80]
Editor sees the line comment as something else. The syntax highlight color is dark green (keyword2) just like the constant label. The numbers inside the square brackets are highlighted as digit (bright red). If the comment is enclosed with /*....*/ it is correctly recognized as a comment. It appears that this problem happens when the line comment follows a digit type. This bug was supposedly fixed see 696765
FTP plugin exception
Submitted by
jg on
Tuesday, 7 November, 2006 - 14:46
I've been using jedit for a while now, recently updated to 4.3pre7 from 4.2Final
I'm using FTP plugin version 0.8
when I go to save a file, I often get the below exception.
I then can't save the file, I have to select all, copy to clipboard, close the file, re-open the file, and paste my file contents over the previously saved version. Very annoying. Any ideas??
Thanks
avax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at com.sshtools.common.hosts.AbstractHostKeyVerification.(Unknown Source)
at com.sshtools.common.hosts.AbstractHostKeyVerification.(Unknown Source)
at com.sshtools.common.hosts.DialogHostKeyVerification.(Unknown Source)
at ftp.SFtpConnection.(SFtpConnection.java:47)
at ftp.ConnectionManager.getConnection(ConnectionManager.java:267)
at ftp.FtpVFS.getConnection(FtpVFS.java:451)
at ftp.FtpVFS._getFile(FtpVFS.java:287)
at org.gjt.sp.jedit.Buffer.save(Buffer.java:432)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeMethod(Reflect.java:134)
at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
at bsh.Name.invokeMethod(Name.java:858)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:362)
at bsh.BshMethod.invoke(BshMethod.java:258)
at bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:509)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:440)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:406)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:373)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEventKeyStrokeHandling(InputHandler.java:295)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:184)
at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4557)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
Still broken XML plugin (or is it SideKick).. and who the hell is hy263?
Submitted by
gribelu on
Thursday, 9 November, 2006 - 07:58
HTML tag highlighting hasn't worked on 4.3pre7 and still doesn't on 4.3pre8

.. I tried the SVN versions of both plugins with no luck.
Or am i doing something wrong?
And... Who is that annoying user and why isn't anyone doing anything about it?
Cheers
why o why won't Error List display content of warnings
Submitted by
fwelland on
Thursday, 9 November, 2006 - 14:56
JEdit 4.3p8 -- jdk 1509 - WinXP.
using antfarm with external 'ant.bat' from ANT 1.65 and javac task w -Xlint.
Jedit will run the ant task fine and even colorize warnings (and errors correctly) in the console output.
But in the error list for warings, the correct line number appears (w warning icon), but the warning message is not there - just blank...
Errors seem ok - line numbers, error icon, and message show in error list.
This happened for 4.3p7 too. Hoping that 4.3p8 might correct this.
exam prep sites ?
Submitted by
jakannan on
Monday, 13 November, 2006 - 23:14
iam going to study for mcse , ccna and ocp in my next couple of month and i was looking for sites with package deals .... i came across hotcerts.com . anyone knows how good is their $85 all exams package and is it worth it ???? . looking for ur responses
can't see screen using Jedit 4.3pre8
Submitted by
liran vigdor on
Wednesday, 15 November, 2006 - 07:05
I was using jedit 4.2 and now tried to transfer to 4.3pre8 , but when starting Jedit , I cant see anything, and only if I pass on the screen with the mouse it will show the screen - this is true only for the icons and other jedit stuff, the files themself can't be seen anyway !
thanks
What's best to use for XML formatting? Tried JTidy but it's causing line breaks
Submitted by
rickcr on
Wednesday, 15 November, 2006 - 19:26
What is the best plugin for formatting XML files? I tried using JTidy but I can't seem to figure out how to get it to not put in a line break in between every line. TIA for any help.