Problem with accents on Ubuntu Feisty
Submitted by
gp on
Thursday, 3 May, 2007 - 22:10
I am having a problem with foreign characters when using jEdit 4.3pre9 on Ubuntu Feisty. It's not strictly a jEdit problem, but I was hoping that someone here more experienced with Java could help me.
The problem is this: when typing characters with an accent, those characters come out wrong in Java apps. It appears to only affect Swing apps (jEdit, Zend Studio). Eclipse, which uses SWT, does render the accents correctly. Please note that this has nothing to do with character encoding settings in the apps themselves.
With Java 1.5, when typing an accented character, it is replaced with a totally different character (I usually get the blank square); with Java 6, accented characters are replaced with the non-accented equivalent (for example, what should be ă comes out as the letter "a"). There is one exception: accented characters from the Latin-1 (ISO 8859-1) character set, such as "ü", "é" etc. are rendered correctly.
I ran the apps on sun-java5-jre and sun-java6-jre (from the Ubuntu repositories), as well as on Java 1.5 downloaded directly from Sun. There is no difference.
Here's the output of jEdit's keyboard troubleshooting feature when I try to type the characters:
I am trying to type ă (U+0103). jEdit running on Java 1.5.
Event KEY_PRESSED,keyCode=0x41,keyChar=0x1e3,modifiers=0 x20,consumed=0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x1e3,modifiers=0x20 ,consumed=0 passed
==> Translated to <0,1e3>
Event KEY_RELEASED,keyCode=0x41,keyChar=0x1e3,modifiers= 0x20,consumed=0 passed
Same character, jEdit running on Java 6.
Event KEY_PRESSED,keyCode=0x0,keyChar=0xffff,modifiers=0 x0,consumed=0 filtered
Event KEY_PRESSED,keyCode=0x41,keyChar=0x61,modifiers=0x 20,consumed=0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x61,modifiers=0x20, consumed=0 passed
==> Translated to <0,61>
Event KEY_RELEASED,keyCode=0x0,keyChar=0xffff,modifiers= 0x20,consumed=0 passed
Event KEY_RELEASED,keyCode=0x41,keyChar=0x61,modifiers=0 x0,consumed=0 passed
Any help would be greatly appreciated.
Buffertabs sorting seems broken in 4.3
Submitted by
tdir on
Saturday, 5 May, 2007 - 14:08
I have been using 4.2 for a long while and recently tried upgrading to 4.3pre9. In 4.2 the order of buffertabs seems to be based on the global options "Sort buffer list" and "Sort buffer list by file name", both of which I normally check. Doing so in 4.2 causes the buffer tabs to be sorted by filename and stay in that order. With 4.3 the order seems sorta by filename but each time I select a tab it jumps to the front. This causes the other tabs to get out of order until finally each tab selection creates a new random ordering with the most recent buffers in the front row. I find this to be almost unusable - I spend too much time searching through the tabs every time I want to select a file.
I have tried the two 'sort buffer list' checkboxes in various combinations - they seem to have no effect whatever.
I am running mainly under WinXP but also Ubuntu and Red Hat.
1. Is this the correct behavior? Has the behavior changed from 4.2 to 4.3?
2. Is there a fix? Is this a bug?
3. Should I report/post to a better place than this forum?
Thank you very much for any clues provided!
Background Plugin problem with 4.3pre9/Java 1.6.0
Submitted by
Magno X on
Tuesday, 8 May, 2007 - 17:22
Hello all
I upgraded to 4.3pre9, and now the background plugin is acting up. The image doesn't stay fixed when I scroll up and down, instead the image tears and segments repeat. Has anyone encountered this? Is there a solution?
Thanks
Pluging BufferTabs
Submitted by
claudecnx on
Wednesday, 9 May, 2007 - 16:27
Is it possible to add in the Buffertabs tab contextmenu a "new" and a "save as" entry?
How should I do that ?
what compiler can i use?
How to get the string of line comment token(s)?
Submitted by
galou on
Thursday, 10 May, 2007 - 09:47
Hi,
I try to write a macro that insert a new line of comment, indenting it and adding the space between the comment token(s) and the text, as on the previous line.
For the moment, I use only '%' as comment token and hard coded it. To submit the macro, I would need to know how to get the string of line comment token(s).
Can someone help me?
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by
sing on
Thursday, 10 May, 2007 - 14:27
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?
What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33
And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by
sing on
Thursday, 10 May, 2007 - 14:27
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?
What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33
And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
About Fonts & LookAndFeel, Manfred Usselmann, Ollie Rutherfurd and others please help.
Submitted by
sing on
Thursday, 10 May, 2007 - 14:28
I use jEdit in Windows XP & just found two screenshots in the ScreenShots section.
Can anyone answer me the following questions?
What is the font used in the following screenshot? Is it antialiasing? How to make it antialiasing?
http://www.jedit.org/index.php?page=screenshot&image=33
And where to download the following screenshot's LookandFeel? Or what is the name of the LookAndFeel?
http://www.jedit.org/index.php?page=screenshot&image=18
JEdit 4.3 pre 9 crashes when maximizing window
Submitted by
blegger on
Thursday, 10 May, 2007 - 20:03
I installed a fresh copy of jEdit 4.3 pre 9, but jEdit shutdowns and disappears when I try to maximize the window or go to manage plugins. My environment is setup as follows:
Windows XP Pro Service Pack 2
Java SE Runtime Environment 6
Java SE Development Kit 6
jEdit 4.3 pre 9
I even made sure to clear out all of the plugins and personal settings I had from the 4.2 installation.
I have since installed jEdit4.2 and it works fine.
php string quoting wrong
Submitted by
DWay on
Friday, 11 May, 2007 - 11:04
the php
$var="abc\"def"; ?>
ist not recongized as string with JE4.3p9
BBCode Syntax Highlighting
Submitted by
Pyrofyr on
Sunday, 13 May, 2007 - 06:36
Well, I work with BBCode a lot to write up guides for forums and such, and have found that it would be a lot easier if there were a way to highlight syntax for it, I've looked through the User Doc, and the Wiki (Which appears to be broken), and haven't found a way to fix this up myself. So I'm requesting it. :/
jEdit Remembering Folding configurations for files opened
Submitted by
thamiral on
Sunday, 13 May, 2007 - 17:52
Dear all,
If a file is reopened in jEdit, the cursor is usually in the same position as where it was when the file was opened last.
Is there a way to get folding configurations for each file to also be stored so that when the file is reopened, all the segments of the file that were folded away, remain folded away?
Thanks,
Sincerely,
Taha
Size limitation for uploaded files ?
Submitted by
jfm on
Monday, 14 May, 2007 - 13:39
I couln't upload a macro bundle (zip-file) to the jEdit Community site. This bundle contains several images, so, it is a little more than 2 MB. I assume that this problem comes from a upload size limitation.
Is it possible to confirm and let me know what is the limit.
Thanks
JFM
ctrl-alt-j how can i disable this from launching jedit?
Submitted by
dovholuk on
Tuesday, 15 May, 2007 - 13:21
pretty much says it all in the title... i can't find where ctrl-alt-j is mapped so i can get rid of it...
thanks
Superabbrevs Problem: Continually need to redeclare an abbrev
Submitted by
aimjiel on
Tuesday, 15 May, 2007 - 19:32
Hi All
I did some poking around and searching and couldn't seem to find anyone else with this issue, which leads me to believe I made some kind of an error.
I have installed jEdit with superabbrevs several times, on Linux (slackware/ubuntu), Windows XP, and Windows Vista, and haven't had this problem until a while back. I got Vista, installed it, everything seemed to go okay, until I tried to use superabbrevs, now it keeps popping up the dialog to create an abbrev. Even if it has been defined, it still pops up, and has the abbrev defined, yet no matter what I do, I can't get it to stop popping the dialog box everytime I try to use an abbrev. It's rather frusterating.
Let me elucidate:
Everything freshly installed, stock, nothing else done except installing 4.2final and superabbrevs.
I open a new document, save it as say .php or anything, does the same thing.
I type : for then ctrl+enter : dialog pops up, okay...
I define what I want it to do: for ($i = 0; $i < count(${1:var});$i++) {${2:code}}
Then I add mode specific.
I type for ctrl+enter : dialog pops up, with my definition
Okay, maybe I need to add global, fine, I repeat the above, and add it as a global.
I type for ctrl + enter : dialog pops up
I scream, yell and curse, I try the above in every possible permutation.
No matter what I do, everytime I use ctrl + enter, (I even tried changin that, alt+r, removing the dlg popup shortcut, redefining the dialog popup shortcut etc every permutation.) That damn, hateful, evil dialog pops up, what am I doing wrong? I am at my wits end, it didn't use to behave like this...what did I mess up? I don't think it's a problem with superabbrevs itself, or there would have been others, somehow, I have screwed it up, one way or another...
Anyway, I am at my wits end, so if anyone has some advice, it would be much appreciated...
/Aimji
Column Ruler V 0.9 "locking-up" jEdit
Submitted by
ELockhart on
Wednesday, 16 May, 2007 - 16:09
Plugin Column Ruler V0.7 runs "OK" with jEdit V4.2 on a Windows 2003 Server (Svc Pack 1) w JRE 1.5.0_11-b03 HOWEVER when I upgrade to Column Ruler V0.9 jEdit will "lock-up" when I try running the CR plugin; I must stop the javaw.exe process (TaskMgr CPU=25 for javaw.exe and Sys IP=75).
Any ideas?
Thanks,
Eric
ProjectViewer crash
Submitted by
red63 on
Thursday, 17 May, 2007 - 16:02
Hello,
i seem to have a problem with ProjectViewer (it worked fine till yesterday): when clicking on it's tab it crashes with:
java.lang.NullPointerException
at projectviewer.ProjectManager.loadConfig(ProjectManager.java:188)
at projectviewer.ProjectManager.(ProjectManager.java:131)
at projectviewer.ProjectManager.getInstance(ProjectManager.java:101)
at projectviewer.config.ProjectViewerConfig.getLastNode(ProjectViewerConfig.java:563)
at projectviewer.ProjectViewer.getActiveNode(ProjectViewer.java:775)
at projectviewer.gui.GroupMenu.populate(GroupMenu.java:105)
at projectviewer.gui.ProjectComboBox.updateMenu(ProjectComboBox.java:104)
at projectviewer.gui.ProjectComboBox.(ProjectComboBox.java:93)
at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:981)
at projectviewer.ProjectViewer.(ProjectViewer.java:911)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at bsh.Reflect.constructObject(Reflect.java:668)
at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:641)
at bsh.Interpreter.eval(Interpreter.java:731)
at bsh.Interpreter.eval(Interpreter.java:720)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410)
at org.gjt.sp.jedit.gui.DockableWindowManager$Factory.createDockableWindow(DockableWindowManager.java:533)
at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:742)
at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:399)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5166)
at java.awt.Component.processEvent(Component.java:4963)
at java.awt.Container.processEvent(Container.java:1613)
at java.awt.Component.dispatchEventImpl(Component.java:3681)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
at java.awt.Container.dispatchEventImpl(Container.java:1657)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
can anybody help me ?
Here's my config:
- MacOSX 10.3.9
- Java 1.4.2_12
- Jedit 4.2final
- projectviewer 2.1.3.7
Cheers,
Reiner
Using jEdit on a thumb drive?
Submitted by
puznee on
Thursday, 17 May, 2007 - 19:25
Hi,
I'd like to be able to carry jEdit around on my thumb drive: complete with settings, plugins, etc. I noticed that you can change the jedit settings directory with a command-line option, like so:
jedit.jar -settings="c:\gabe\jedit_settings"
However I can't use an absolute path (the drive-letter assigned to my drive varies from machine to machine). Is there a way to specify a relative directory instead?
Thanks,
Gabe
bsh.InterpreterError: null variable value (Mac OS)
Submitted by
stavros on
Friday, 18 May, 2007 - 12:51
Hi all,
jEdit has been broken for me for the longest time, but I'd like to get it back up on its feet so I can play with it again.
I'm running the latest 4.3pre and on startup (and every other second as the program continues) I keep getting a "bsh.InterpreterError: null variable value" error window popping up (stack trace pasted below).
A similar error pops up when I hit backspace or enter in the editor. Try and browse through the jEdit preferences (they're all empty for me) ... pretty much any action I take is hosed.
I'm not sure what's wrong. I'm on an Intel Mac (10.4.9), Java 1.5, my environment vars are set appropriately (JDK_HOME, PATH), I've blown out my ~/.jedit folder over and over, nothing I do works.
Has anybody ran into this problem before? I searched on the boards + mailing list but didn't find anything.
Thanks,
-steve
bsh.InterpreterError: null variable value
at bsh.NameSpace.setVariable(Unknown Source)
at bsh.NameSpace.setVariable(Unknown Source)
at org.gjt.sp.jedit.BeanShell.resetDefaultVariables(BeanShell.java:687)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:370)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:286)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:212)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1019)
at org.gjt.sp.jedit.jEdit.runStartupScripts(jEdit.java:3407)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
new ruby language mode (ruby.xml v0.7.0 by Jim Morris)
Submitted by
wolfmanjm on
Friday, 18 May, 2007 - 22:41
Note This version is probably incompatible with the ruby macros and ruby plugin, it is intented for those that want correct ruby auto indentation without the other ruby plugin features.
Works with Jedit >= 4.3pre9.
I use the new unindentThisLine and unindentNextLines and the ElectricKeys to do the indentation.
Basically the improvements are...
1. else, elsif, rescue, end - will unindent immediately when you type the final character just like } does (ie e from else f for elsif d from end etc the electric part of ElectricKeys)
2. added support for blah.each do |f| syntax which now indents correctly
There is at least one unfortunate side effect which doesn't seem to bother me too much (YMMV),
if you type some manual indentation at the start of the line, and then one of the electric keys (d e f) the line will indent to the current indentation level.