Ugly font rendering on Linux
Submitted by
pablox on
Tuesday, 5 October, 2010 - 19:30
Hi, I'm getting a really ugly font rendering, as you can see in the following links:
http://imgur.com/vLyG7.png
http://imgur.com/S1hJq.png
I had a similar problem with netbeans but after adding some extra commands to netbeans.conf[1], it solved the problem.
I'm using Arch Linux x86-64 and OpenJDK
[1] https://bbs.archlinux.org/viewtopic.php?pid=701440
QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by
gadei on
Wednesday, 6 October, 2010 - 06:34
Hallo!
I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.
Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:
(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)
> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me
Do you have an idea what could be wrong here?
Marco
Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1
How to open new file in the same window?
Submitted by
ramgovx on
Friday, 8 October, 2010 - 17:19
What do I need to configure, for files opened from Nautilus by double click on the same window that is already open?
I just want a single open window.
Font Alteration
Submitted by
deerb on
Saturday, 9 October, 2010 - 08:33
How do you change the font displayed by the jedit editor? I have always used Frankin Gothic Medium Condensed as it is an easy font to read and does not take up too much space
Is ther any way of altering the font used for displaying code in the editor, either directly or acessing a configuration file?
deerb
Python mode changes
Submitted by
tdir on
Saturday, 9 October, 2010 - 18:24
How is the Python mode (python.xml) file maintained? How does one communicate with its maintainer regarding changes?
eisen.xml v0.02 by monkstone
Submitted by
monkstone on
Monday, 11 October, 2010 - 19:39
An Experimental Highlighter for the StructureSynth EisenScript. Provides highlighting for *.es you might like to post on your blog (use code2html plugin). Aims to cope with in built raytracer syntax coming with StructureSynth Hinxton release (but not javascript).
get script Output in Jedit
Submitted by
flebber on
Friday, 15 October, 2010 - 01:15
Is there an option for Python or Ruby to get script output in Jedit. Similar to run module command in python IDLE or in Scite Go option.
[IMG]http://i988.photobucket.com/albums/af10/Sayth_Renshaw/scite-2.png[/IMG]
[URL=http://s988.photobucket.com/albums/af10/Sayth_Renshaw/?action=view¤t=scite-2.png][IMG]http://i988.photobucket.com/albums/af10/Sayth_Renshaw/th_scite-2.png[/IMG][/URL]
Congratulations!
Submitted by
dasorey on
Friday, 15 October, 2010 - 08:01
jEdit, Project of the Month, October 2010
http://sourceforge.net/blog/potm-201010/
Embedding jEdit in another application's window
Submitted by
ke on
Saturday, 16 October, 2010 - 14:06
I'm developing an IDE-like application where I would like to use jEdit (or parts of it) as a source code editor.
It's great that the text area is provided as a component that can be used independently of the jEdit application. However, this just provides the text area – I need to provide menus, toolbars, actions, file management (loading/saving/...) externally.
What would be even greater is thus something like a jEdit view, only that it is not a window, but an ordinary component that I can embed my own components.
Is anything like this planned – or already available, and I have overlooked it?
jEdit 4.2 no longer starts - what next?
Submitted by
LongtimeUser on
Wednesday, 20 October, 2010 - 13:46
Hello all,
I've been using 4.2 for several years because of the plugins for it, and installed it right away on this laptop when I got it 6 months ago. I have it running all the time. Then Monday I installed Plants vs Zombies and after a few hours it froze my computer. After rebooting jEdit will no longer start. As the FAQ suggests I tried moving all the files from .jedit/ (since Win 7 won't let me rename the directory), but that was no help. Java is fine, I can do >java -jar jedit.jar and the CLI gives me another prompt but nothing happens. Then I tried installing 4.3 (in a different location) as a last resort and it seems to have deleted my 4.2 directory - and still won't start up.
Oddly enough I went back to a previous laptop and found that 4.2 won't start up on that one either.
A) Anyone else had this happen?
B) Anything else I can try to get 4.2 working again?
C) What's the procedure for a clean install?
D) Or a side-by-side install with multiple jEdit versions?
Thanks!
Search and Replace popup hides search results
Submitted by
greghk on
Thursday, 21 October, 2010 - 01:13
The search and replace popup menu often hides search results as it seems to always be on top of the jEdit screen showing the current buffer. Especially on a netbook 1024x600 px screen! The incremental search bar (C+,) solves this problem nicely for simple searches. However the search bar doesn't seem to handle all the function available in the search and replace popup, especial replace.
I tried to dock the full search and replace popup to keep it out of the way, but couldn't find it in Global Options > Docking. I'm running jEdit 4.3.2 on Ubuntu 8.04 and Ubuntu 10.04. I don't see the docking button on any of the popup screens, including the file system viewer which is dockable. Perhaps the lack of docking button on Ubuntu is a Gnome windowing issue? Maybe there is already an option to scroll lines with results out from behind the search and replace popup?
Is this is a bug, a new feature or am I just missing something?
Using the match count as replacement text?
Submitted by
heyvern on
Thursday, 21 October, 2010 - 20:36
I have searched... uh... literally for at least a year on and off for a solution to this.
What I need to do is to "count" matches and use the "count" number as part of the replacement. I am attempting to change the formatting of a 3d file to another 3D application. Some elements that are not numbered in the original format need to be numbered in the target format. The only way I see to do this is with a macro that can track the match count.
I am very familiar and proficient with regex in jEdit but not so hot with writing macros or java programming. Just looking for some kind of "loop" structure in a macro that counts the matches and increments a variable to be inserted on each match/replace.
sideKick stopped parsing python scripts
Submitted by
pixeldroid on
Saturday, 23 October, 2010 - 02:31
For some reason, the jEdit Sidekick plugin has stopped parsing my python scripts (no functions, vars, etc.).
For my Python Path in the Jython plugin, I have been using the python executable that is installed with Maya:
C:\Program Files\Autodesk\Composite 2011\program
which has been working fine until yesterday.
I've also tried:
C:\Program Files\Autodesk\Composite 2011 Subscription Advantage Pack\program
Any suggestions for fixing will be appreciated.
Thx
java update broke jedit 4.3.2 for me
Submitted by
jeditcdnguy on
Tuesday, 26 October, 2010 - 16:34
I'm running ubuntu jaunty when I got an update today re:java
After the update jedit 4.3.2 stopped working
Here's what happens when I run it in the terminal
terry@beauty:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin$ java jedit
Exception in thread "main" java.lang.NoClassDefFoundError: jedit
Caused by: java.lang.ClassNotFoundException: jedit
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: jedit. Program will exit.
Is it possible to open a file in Project Viewer by typing filename?
Submitted by
kwon37xi on
Thursday, 28 October, 2010 - 08:08
I installed Project Viewer and FastOpen, Jump and try to open a file which is in a project with it's filename, but failed.
The thing I want is Open Resource(Ctrl-Shift-R) in Eclipse.. (Opening a file which is in a project by typing some part of filename)
Is there any plugin like Open Resource thing??
jEdit + .ctp files
Submitted by
grandioso on
Friday, 29 October, 2010 - 23:00
I can't seem to make jEdit highlight any .ctp file syntax as php. (ctp files are used by cakePHP)
I did the following : "Options" -> "editing", chose php, unchecked "use default", changed "file name glob" to "*.{php3,php4,php,phtml,inc,ctp}", saved, restarted app... but still nothing.
Any ideas ? I use Ubuntu 10.04
How to paint something in TextArea?
Submitted by
tpj on
Saturday, 30 October, 2010 - 16:54
I'm working on a jEdit plugin for Lisp dialects. I'd like to implement a form "highlighting" feature, just as it's implemented in DrRacket. It can properly highlight a form, when the form is a valid one (screenshot 1). When we have an invalid form (due to some unclosed parenthesis, for example), only the first form paren is highlighted (screenshot 2). I'd rather highlight all the text up to the next form, instead, in some different colour.
Screenshot 1: http://www.tprimke.net/public/images/LispMode_1.png
Screenshot 2: http://www.tprimke.net/public/images/LispMode_2.png
Right now, I don't know how such a feature can be implemented in a jEdit plugin. I've found out the TextAreaExtension, but I'm not sure if it's the proper solution to use in my case. How can I order jEdit (from a plugin) to draw something on the screen? Something, that might consist of many lines and columns, between two known caret positions?
I've found the methods paintValidLine and paintScreenLineRange, but I'm not sure, when they're actually used - so I can't make any use of them. I need some advice on this topic.
jEdit opens an additional window for additional files
Submitted by
Nick Payne on
Saturday, 30 October, 2010 - 22:05
Whenever I open an additional file once jEdit is already running, jEdit opens a additional window into which it loads the file. The new window is also slightly displaced on the screen from the previous window. However, both the new window and the previous window allow access to both the new file and any previous files I had open from the drop-down selection menu at the top of the text area. I normally close this new window, as it's not located where I want, and then use the drop-down selection at the top of the text area to bring the new file to the front, which is two extra annoying steps in the process.
How can I stop jEdit from creating a new window. Any additional files I open once jEdit is running, I want them to open in the already existing window. I've had a browse around in the various menus and global options without seeing where this can be set. I'm running jEdit 4.3.2 on Ubuntu 10.10.
Does Jedit garble any HTML files?
Submitted by
Hannes on
Wednesday, 3 November, 2010 - 08:23
Hi,
I have Jedit with the Plugin Includes Parser for HTML pages and as a german citizen, I do use a lot of Umlaute (special characters) in the Include. The Head of the HTML file does show the entry that the endoding is utf dash eight (I can not include the sample code, because I already did write my question with the code mentioned and this board deleted it due to suspicious characters).
After inserting the Include Code into the main HTML page by the Includes Pager, all the Umlaute are shown totally garbled.
Is it correct that the Includes Parser does change the encoding into whatever else, but does not insert the special characters in the correct encoding? In utilities, Global Options, encodings the default character encoding is set to utf dash eight.
Is there any work-around? Normally, I do not bother to find a solution for faulty software, but I seem not to be able to find any other editor with includes capabilities working under Linux.
I tried to find a mode whereby Jedit would change the special characters into HTML entities on-the-fly during entering, as is possible for example with dreamweaver, but until now I did not find anything.
If there is a work-around or any solution I would be grateful for any hint!
jEdit & NetREXX
Submitted by
bobhjedit on
Thursday, 4 November, 2010 - 11:48
Anyone using jEdit w/ NetRexxDE???
Bobhjedit