Problem with CTRL+char combinations
Submitted by
Naturo on
Monday, 23 April, 2007 - 09:31
I have a problem with Jedit: whenever I type CTRL+some_character, it executes the
command corresponding to the combination (when such command exists) but it also
inserts the character into the current position in the text.
E.g. when I type CTRL+x it deletes the selected text but it inserts the character
'x'. If I type CTRL+f it opens the Find&Replace dialogue window but it also inserts
the character 'f' into the text.
I have this problem only with Jedit, things work fine when I use other editors,
including Java-based editors like Netbeans IDE editor.
I am using Jedit 4.2final on Fedora 3, with Sun jdk1.5.10 (but I have the same problem when switching to jdk1.6 or jdk1.4).
Here is what happens when using Utilities->Troubleshooting->Keyboard Tester:
If I type CTRL+x for instance, it prints "C+x x" in the textefield of the "Specify Shortcut" dialogue window, and the following event report is printed in the text window:
Event KEY_PRESSED,keyCode=0x58,keyChar=0x78,modifiers=0x2 passed
==> Translated to C<0,78>
Event KEY_TYPED,keyCode=0x0,keyChar=0x78,modifiers=0x2 passed
==> Translated to <0,78>
Event KEY_RELEASED,keyCode=0x58,keyChar=0x78,modifiers=0x2 passed
Event KEY_RELEASED,keyCode=0x11,keyChar=0xffff,modifiers=0x0 filtered
Thanks in advance for any help!
Displaying Chinese
Hi,
I'm using JEdit on Gentoo Linux 2006.1 Everything works perfectly, except that I cannot display Chinese characters.
I am loading Chinese in UTF-8. It loads, edits and saves fine (i.e. the UTF-8 encoding is not scrambled by JEdit), but within JEdit all the Chinese shows as small squares.
I have searched the internet and these forums extensively. I seem to have the same problem as this guy:
http://community.jedit.org/?q=node/view/3398
I have tried changing the LANG and LC_ALL environment variables as well as setting the -Dfile.encoding JVM option to "UTF8". Nothing works.
At the moment JEdit is useless to me because of this, although the website and docs say it can display Chinese correctly. It looks like a smart editor. Can anyone help?
Wheel scrolling not working, Vista-Intellipoint 6.1
Submitted by
keensyntax on
Monday, 23 April, 2007 - 18:25
I just picked up a new MS Natural Wireless 6000 mouse. When I use this mouse with Intellipoint installed, jEdit and oXygen xml editor will not scroll with the wheel. If I uninstall Intellipoint, they will, but I'd really like to have some of the features in Intellipoint. Has anyone run into this or otherwise know of a way to make this configuration work?
Line wrap
Submitted by
Naturo on
Wednesday, 25 April, 2007 - 16:00
Sorry to bother, I have searched the JEdit help and the forum but haven't find any answer to the following issue:
When the wrap option is set, a long line is wrapped as expected if and only if it contains spaces.
If the typed line does not contain space characters (i.e. the line is a single and very long token) then it is not wrapped (i.e. it is necessary to use the horizontal scroller to see the tail of the line). Cheching and editing such a line without visual wrapping is awkward when the line is very long, e.g. the value of a PATH variable in a .chsrc file.
Is there any way to wrap the lines even if they don't contain spaces?
Thanks for your help!
HTML&JAVA alignment
Submitted by
kernel on
Wednesday, 25 April, 2007 - 18:18
Hi ,
i'm new to jedit i've tried playing with it but i can't seem to find where do i define the alignment on html and java code ? (i think i used the correct english word for it , i mean how to i make it tab right automaticly ) .
ta
Go to file on current line Rails specific macro. (Go_To_File_On_Current_Line.bsh v0.4 by Panya)
Submitted by
Panya on
Friday, 27 April, 2007 - 14:28
This is a Ruby on Rails specific macro which ported from TextMate Rails bundle 'Go To File on This Line' command. Just go to line which contain any file name(action name, controller name, javascript file name, stylesheet file name, partial name, layout name) and use the macro will open this file. This macro requires ProjectViewer plugin.
P.S. Open_Partial macro is not needed now.
Snippet chooser / paster (Insert_Snippet.bsh v1.0 by Mike Cline)
Submitted by
mikecline on
Friday, 27 April, 2007 - 19:25
For pasting snippets of code (or any kind of text, really) into the current buffer.
You store all your snippets as separate text files in the c:\snippets directory (hard-code another location if you like). When you run the macro it pops up a JList selection box where you can choose which snippet to paste.
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