SQL Plugin - Connect to MS SQL Server from Linux?
Submitted by
erezbibi on
Wednesday, 6 December, 2006 - 16:38
I can connect to MS SQL Server with the SQL plugin from WinXP, I just create a User DSN in the ODBC manager of Windows, and insert the DSN name in Project->Properties->SQL...->DSN.
Has any one managed to connect to MS SQL Server from Linux? What should I write in the DSN text box?
Thanks
Erez Bibi
How do I launch the appropriate application for a file?
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 19:34
I am trying to write a macro that opens the file named in the selection with the appropriate application. For example, [mysheet.xls] would start Excel and open the file mysheet.xls, [mytext.txt] would open Notepad...
I've tried sending the filename to cmd.exe, but that doesn't work. I've tried sending it to Explorer but that just views it in explorer.
Here's what I have (not working properly):
// launch app to open file NOT WORKING!
/*
os = System.getProperty("os.name");
if(os.indexOf("Windows 9") == -1 && os.indexOf("Windows M") == -1) {
comspec = "cmd.exe /C ";
} else {
comspec = "command.exe /C ";
}
*/
comspec="explorer.exe ";
if (myfile.matches("[\\/]")) {
command=comspec+myfile;
} else {
// handle relative paths:
command=comspec+buffer.getDirectory()+myfile;
}
// Macros.error( view, "launching "+command);
setAccessibility(true);
runtime = new java.lang.Runtime();
runtime.exec(command);
return;
Searching for a file in a list of directories
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 19:54
I am trying to find a single specified file in a set of directories. The filename is currently selected, the directories are listed at the bottom of my text file as follows: [path:adirectory][path:anotherdirectory][path:yetanotherdirectory].
The paths are searched recursively (ie: subdirectories are searched as well), or alternatively I can allow globs in the paths like so: [path:C:\toplevel\projects\*\]
I've got searching the current document for [path:xxxx]. I've got the selected filename.
What I am having trouble with is searching the filesystem for the filename. I am trying to figure out how to use DirectoryListSet to do this, but I cannot see how it can be used alone without involving the GUI. I also tried to figure it out using File.list(), but cannot figure out how to specify a filter.
Any help I've found googling around has been in Java, not Beanshell, and since I'm not expert at either I cannot figure out how to translate the Java solutions into Beanshell.
Any help?
BufferTabs: Split screen shouldn't duplicate all tabs
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 20:20
The title says it all. When using BufferTabs if you split the screen BufferTabs happily duplicates ALL of the tabs in each split screen. If I have a lot of buffers open this can waste 1/3 of my screen real estate!
Of course, the tabs should be shown ONCE across the bottom and not duplicated when the view is split.
Timed out installing plugin under Ubuntu
Submitted by
matthewyoung on
Friday, 8 December, 2006 - 22:19
In Ubuntu 6.10, I tried to install the RubyPlugin get Connection timed out exception. At the same time, I try to install plugin in Windows XP and it's fine so the mirror site is not the problem, right?
I am using Sun java version "1.5.0_08" in Ubuntu.
If automatic plugin install does not work, can I manually download and install plugin?
Compiling/Running from within jEdit?
Submitted by
vapourmle on
Sunday, 10 December, 2006 - 14:47
HI there, I'm new, I have been trying jEdit, I quite like it but I have been alt+TABing between it and a console window which I do my compiling in. this is a bit awkward as I'd like to compile from within the editor, but I can't find any documentation that tells me how to do it? Are there compile/run buttons in jEdit, if so, what are they?
Also, I have never really grown to love its colourless icon scheme, are they ways of changing this, for example skins?
plugin or macro?
Submitted by
godfailed on
Sunday, 10 December, 2006 - 18:04
http://downloads.symfony-project.com/demo/admin/admin_generator_commented.mov
I was watching this video and noticed something in textmate. I don't know if thats a macro's or some form of keyword based autocomplete. Is there something in jedit that is simular to this? or would it have to all be done through macro's?
Jedit forget (some) settings
Submitted by
matthewyoung on
Sunday, 10 December, 2006 - 22:56
I am using 4.2final under Ubuntu 6.10.
I set "View->line number" checked, "Plugins->Buffer tab" checked. On restart, these settings are not restored. But tab width setting is. What's going on?
Edit Modes: Brackets in Literals
Submitted by
jaaa on
Wednesday, 13 December, 2006 - 09:13
Hi,
I have a problem with edit modes and string literals with brackets in jEdit.
I'm working on a little custom query language at the moment. jEdit would be an ideal editor for it if I just could get the edit mode working. The problem is that I have literals that contain brackets and that seems to break the "Complete Word" feature as well as the syntax highlighting.
Here's an example of the mode:
"
"
=
AND
OR
Attribute1
Attribute2
Attribute3
NULL
Value1
Here's an example of a simple query:
(Attribute1 AND Attribute2) OR (Attribute1 AND Attribute3="Value2 (detail)")
Uncommenting the literal with the brackets breaks the edit mode as already mentioned. Is there a way to get aroung this? Am I missing something? I tested with both 4.3pre and 4.2 on WinXP/jdk1.5.0_09.
Thanks,
Jussi
View File Sys Browser as Tree
Submitted by
mattslav on
Wednesday, 13 December, 2006 - 14:44
I would like to view the File System Browser as a tree, similar to Windows Explorer. Is this possible?
compilation errors
Submitted by
mich24 on
Thursday, 14 December, 2006 - 09:25
I have create a project with JBuilder with all the jEdit source files but I get many compilation errors... why?
Thx a lot for any ideas!
line numbers
Submitted by
mich24 on
Thursday, 14 December, 2006 - 09:26
Can somebody tell me in what class the line numbers of the program editor are displayed? I have to have a look on the code beacause I have to implement line numers in another editor...
thx a lot!
4.3pre7, scrolling bug
Submitted by
lukescammell on
Thursday, 14 December, 2006 - 17:28
Sometimes when I'm editing HTML, PHP or ASP I either hit CTRL+HOME or PGUP a few times and the edit window cuts off the top part of the page. It's still there, but I can't move the scrollbar up any further and I can't see the text. If I close the file and then reopen it everything's fine until it randomly happens again. I can't find anything that causes this to happen, it appears to be just random for me :/
java.lang.NullPointerException
at org.gjt.sp.jedit.textarea.TextArea.scrollTo(TextArea.java:862)
at org.gjt.sp.jedit.textarea.TextArea.scrollToCaret(TextArea.java:714)
at org.gjt.sp.jedit.textarea.TextArea._finishCaretUpdate(TextArea.java:5051)
at org.gjt.sp.jedit.textarea.TextArea.finishCaretUpdate(TextArea.java:5203)
at org.gjt.sp.jedit.textarea.TextArea.moveCaretPosition(TextArea.java:2214)
at org.gjt.sp.jedit.textarea.TextArea.moveCaretPosition(TextArea.java:2180)
at org.gjt.sp.jedit.textarea.TextArea.moveCaretPosition(TextArea.java:2169)
at org.gjt.sp.jedit.textarea.TextArea.goToBufferStart(TextArea.java:3150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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)
Donations
Submitted by
philroche on
Friday, 15 December, 2006 - 12:30
Hi Guys,
As part of my Christmas Charity giving this year, I would like to donate a small amount to Jedit to help with hosting or whatever. I cannot find a sourceforge donate or paypal donate link anywhere.
Any clues as to where I might find one?
Cheers and keep up the good work.
Phil
CA-Clipper 5 Edit Mode (ca-clipper-5.zip v0.1 by Daniel Gonçalves)
Submitted by
daniel.dg on
Friday, 15 December, 2006 - 22:01
The edit mode for CA-Clipper 5 XBase language. The mode includes statements for Class(y) 2.4b OO Engine library and all documented functions provided by the following libraries:
- CA-Clipper Tools
- BLINKER Functions for CA-Clipper 5
- Class(y) 2.4b OO Engine Library
Probably you want to disable the 'foxpro' edit mode for .PRG files to allow jEdit to use this CA-Clipper 5 edit mode.
Request For "Grep" Feature or Plugin
Submitted by
Sledged on
Monday, 18 December, 2006 - 22:24
I'd love to be able to search files using a "grep" command. Sometimes I work on a Windows machine, and MS's "find" command many times simply isn't flexible enough. Also, there's something to be said about not leaving the window in which you're working.
install bug - no screen refresh
Submitted by
liran vigdor on
Tuesday, 19 December, 2006 - 11:13
After installing the latest versoin 4.3pre8 and opening the editor I don't see anything on screen on by passing on the screen with the mouse I get the view ,
any suggestions ?
P.s ver 4.2 works just fine on my computer
10X
Disabling Changed File Check on Alt-Tab/Change of Program focus
Submitted by
Aristoi on
Tuesday, 19 December, 2006 - 21:30
I am using jEdit 4.3pre3 on Windows XP.
When I switch to another application, and back to jEdit, there is a significant lag while the Samba share refreshes. I assume that jEdit is checking to be sure the file contents have not changed. I have set the global option "If files are changed on disk" to "do nothing" but it still seems to be checking. The 5 second lag is rather maddening, and I would like to know if there is any way to disable this file check entirely.
Thank you in advance to anyone who has any kind of solution!
Dock Left or Right fails
Submitted by
jrlooney on
Wednesday, 20 December, 2006 - 16:56
I've had this before and I can't remember how I fixed it. Hoping someone else has run into this.
I change the Look and Feel setting of jedit and now I can't dock anything in the left or right. I can dock on top or bottom just fine (but I don't like that for ProjectViewer - I want it on the left). I changed LookandFeel back to "Metal", restarted and that did not help. I even removed the LookAndFeel plugin and restarted jedit and that did not work.
Has anyone else run into this? I am using Jedit 4.2Final on MacOSX Tiger.
thanks in advance
running buffer on other servers than the PC where jedit is installed
Submitted by
poleta33 on
Friday, 22 December, 2006 - 09:23
How can I run a buffer on the server where the buffer is recorded ?...