Newbee needs help with new Mode:
Submitted by
phcjpp on
Friday, 19 November, 2004 - 12:23
Hi,
Quick question I am trying to use a SPAN_REGEXP that really needs a regexp in the tag too and I was wondering if there is a way round this
A comment starts with / on a new line and ends with a \ on a new line - if possible whitespace should be ignored e.g.
(^[[:blank:]]*/[[:blank:]]*$)
and should end with
(^[[:blank:]]*\[[:blank:]]*$) (NOT ALLOWED!)
is there a way round this ?
Thanks
Chris
Java syntax parsing
Submitted by Anonymous on Friday, 19 November, 2004 - 19:45
I'm trying to find a plugin that will simply parse my open .java file(s) and report (in ErrorList) whether there are syntax issues. I have a weak work-around that compiles (JCompiler) only the current buffer and then reports the errors. But this is a bit time consuming...Ideally, the plugin would parse everything open and then I could cycle through the buffers looking for the red marks to correct my errors. This would save me a nice amount of time prior to a lengthy build process.
TIA
custom classes in jcompiler
Submitted by Anonymous on Friday, 19 November, 2004 - 20:00
Hi,
im new to java and jedit(great features)
my main problem is that i have to use custom classes that come with my learning script.
First is there a global dir where java looks for them?
Second i added the path to the classpath in jcompiler:
/home/Programmierung/classes/
When i compile my helloworld:
import javakurs.io.*;
public class BeispielApp {
public static void main( String[] argv )
{
Ausgabe.println( "Hello World" );
}
}
it runs trough and dont seem to make errors, but when i wanna run my prog with the console java i get this:
Exception in thread "main" java.lang.NoClassDefFoundError: javakurs/io/AusgabeFenster
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at javakurs.io.Ausgabe.(Ausgabe.java:31)
at BeispielApp.main(BeispielApp.java:7)
Process java exited with code 1
I tested the same settings in eclipse and it runs fine.
this is the eclipse entry:
so what i am doing wrong?
Or is there a better way to set the classes and run/compile my stuff?
thx so far
File system browser current selected item/file?
Submitted by
fwelland on
Saturday, 20 November, 2004 - 02:29
jedit macro newbie; jedit user for a bit; java journeyman.
In a macro, is possible to get the currently selected item in the filesystem browser?
so in my random hacks I have gotten this..
doc = view.getDockableWindowManager();
names = doc.getRegisteredDockableWindows();
with the idea that if I had a handle of the file system browser (currently docked) then I could interrogate file system browser for the currently selected file(s) - it seems there are some getSelected methods in the VFSBrowser....on the right track?
TAB key stops working
Submitted by Anonymous on Saturday, 20 November, 2004 - 12:06
I'm using JEdit to edit Java source code. I use the TAB key to indent. It seems to work just fine until suddenly the TAB key seems to stop working. That is, when I press the TAB key at the start of a new line to indent it, nothing happens.
I have found that if I close the file, exit Jedit, then try editing the same file again, the TAB key again seems to work properly, for a while. After a while, the TAB key again seems to stop responding.
I have no idea what I am doing wrong.
Michael Galvin
Muskegon, MI
:..Www.Bim-Diesel.Ch.Vu
Submitted by Anonymous on Saturday, 20 November, 2004 - 18:35
Hello
:..Www.Bim-Diesel.Ch.Vu..:
Submitted by Anonymous on Saturday, 20 November, 2004 - 18:35
Hello
XML plugin problem
Submitted by Anonymous on Saturday, 20 November, 2004 - 22:55
I feel like I overlooked something obvious, but anyway: here's my problem - the xml plugin doesn't recognize the xhtml doctype if it's not at the beginning of file. I have a file with some php code (which doesn't output anything) followed by some xhtml and I need that php on the beginning because of headers. Is there any way to make the XML plugin ignore the php code and recognize the doctype even if it's not on the first line?
mac osx file association
Submitted by Anonymous on Sunday, 21 November, 2004 - 06:48
How do I prevent jedit for associating files with itself after they are saved? I want to preserve current association and not allow jedit to change it.
thanx
automatic completion of " and '
Submitted by Anonymous on Sunday, 21 November, 2004 - 17:39
is any possibility of turning on automatic completion of " and ' in PHP scipts? i'am used from other editors, when i write " or ', automaticly second quotation mark appears.
thanks
Need to expansion of syntax highlighting
Submitted by Anonymous on Monday, 22 November, 2004 - 10:34
Current engine of syntax highlighting is great!
There is just one snag...
Theoretically I want ability to define of own token types (colors) and parser rules in mode files like in Vim.
Is this feature?
Building jEdit from source under Windows
Submitted by Anonymous on Monday, 22 November, 2004 - 11:23
How build jEdit from source code on Windows platform ?
How to create quick key for constant used phrase?
Submitted by Anonymous on Monday, 22 November, 2004 - 22:04
I am tired of to type "System.out.println".
How can I create my constant used phrases and easy to import?
Alex
bash shell in console bar
Submitted by Anonymous on Monday, 22 November, 2004 - 23:25
Hello.
I've downloaded and installed the console plugin and his dependencies.
After the installation in typed bash in the "System" Console, the prompt appeared
and I tested my *.sh scripts. Fine.
But it only works one time. When I try to start bash on the next day the two animated arrows
(recyling icon) "turn around" but there appears no promt.
After a while when I type e.g. ls there's the following error message
"/bin/bash: line 1: ls: command not found"
I think its curious that it works only the first time after the installation.
Can you help me?
Greets from Germany
Philipp
Windows installer doesn't find Java
Submitted by
rovf on
Tuesday, 23 November, 2004 - 08:46
Running the Windows Installer, I get the error message
"Setup unable to find a JDK or Java Runtime 1.3 or higher"
I have installed JDK 1.4, and my JAVA_HOME environment variable points to this
directory. Also I am able to run other Java applications, such as ant. What else
could be the reason for this error message? What other environment variables
should I check?
Ronald
Windows installer doesn't find Java
Submitted by
rovf on
Tuesday, 23 November, 2004 - 08:49
Running the Windows Installer, I get the error message
"Setup unable to find a JDK or Java Runtime 1.3 or higher"
I have installed JDK 1.4, and my JAVA_HOME environment variable points to this
directory. Also I am able to run other Java applications, such as ant. What else
could be the reason for this error message? What other environment variables
should I check?
Ronald
What is a "Drupal ID"
Submitted by
rovf on
Tuesday, 23 November, 2004 - 09:03
When I registered at jEdit Community, my registration data also contained
a "Drupal ID", which looks like an email address - in my case, it is
rovf@community.jedit.org. Where is the mailbox associated with this address?
Ronald
the jedit text area
Submitted by Anonymous on Tuesday, 23 November, 2004 - 11:46
Hi,
do you know how can I interact with JEdit text area from a plugin?
10nx,
Mikele
How to reopen file with different encoding
Submitted by Anonymous on Tuesday, 23 November, 2004 - 16:45
When I open a file using jEdit filesystem explorer, I have a chance to right-click it and choose an apropriate encoding. But what if I open the file thru drag&drop and jEdit fails to recognize encoding correctly? Is there any chance to tell it what encoding it should use?
Help Reqd. Structure Browser (Side Kick) & Code browser use.
Submitted by
pobox90210 on
Tuesday, 23 November, 2004 - 20:37
Does anyone know where I can find some help info on either Structure Nrowser or Code Browser. I would prefer Structure Browser as I am using Linux and have no idea how to install ctags 5.5 to try and get Code Browser to work.
I would like to know how to set up a tag so that the "broswers" list them in the broswer pane.
If anyone has any help files or can write a step by step of how to set up a tag, I would appreciate it.
Thanks for your time.
Peter
PS. I normally use UltraEdit and would like a working function list in my jEdit if possible.
PPS. Is therre another way to do Column Mode other than holding the CTRL and using the mouse? It's not as good/usable as the UltraEdit one currently.