VFS and HTTP based protocols
Submitted by Anonymous on Wednesday, 29 September, 2004 - 06:13
Hi,
I have recently done some work on the DAV plugin.
One of the issues that came up was the use of VFS for http based protocols.
If I register my protocol as http, then jEdit tries to use my plugin to access
any files with a http URL. Of course http urls could be stored on a standard
Web server or on a webdav server or on a soap server etc etc etc.
To get around this, I registered my protocol as webdav. The plugin converts this to http
when it acceses the server. (In jEdit, I specify webdav://myhost/mycollection).
However, this causes its own problems. If I download an XML file from the Weddav server
and this file references a style sheet or schema with a http url, jEdit cannot download
these referenced files. If I modify the references to webdav URLs that stuffs up other
software.
It appears to me the the VFS interface is not flexible enough to handle http based protocols.
Is there any way around this?
AutoFormat ?
Submitted by
theWax on
Wednesday, 29 September, 2004 - 08:56
i have a very messy .js file.
How can I autoformat it now within jEdit?
Cheers.
jan
Plugin Bundle (Nightly?/Other?)
Submitted by
dogleg on
Wednesday, 29 September, 2004 - 14:46
Is there an aggregate file containing the Plugin Central plugins as a single file download?
Could really use a plugin aggregate file with all the prerequisites.
Any periodic (nightly) frequency for creating the bundle would do.
I'm working offline/wireless on a machine and do not have high speed lazy load capability per plugin.
Same settings and plugins for all users?
Submitted by
cyther on
Wednesday, 29 September, 2004 - 17:37
Hi!
How to set up jEdit so that all users (on Linux) use the same settings, plugins etc?
Sorry if it a FAQ (I didn't find any clue in the Help or FAQ).
Thanx
Cyther
Open With Jedit in context menu didn't work - problem solved
Submitted by Anonymous on Wednesday, 29 September, 2004 - 17:41
After deinstalling a pre-Version and installing the final version of Jedit4.2 the Open With Jedit in context menu didn't work anymore.
Changing the following Registry-key (Win Xp) solved the problem:
HKEY_LOCAL_MASCHINE\SOFTWARE\Classes\*\Shell\Open with JEdit\command
"c:\j2sdk1.4.2\bin\javaw.exe" -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"
to simply
javaw.exe -jar "C:\Programme\jEdit\jedit.jar" -reuseview "%1"
(as javaw is in my path anyway)
OpenGL Accelerated Java2d with jedit
Submitted by Anonymous on Thursday, 30 September, 2004 - 11:33
Hi,
Has anyone managed to get an improvement with the jdk1.5 with opengl acceleration on linux or windows ?
I don't see any speed increase when I run jedit with "java -Dsun.java2d.opengl=true" on my linux box.
PS. Is there a known way to understand if opengl acceleration is being used or not ?
Thanks.
Bookmarks and changed buffers
Submitted by Anonymous on Friday, 1 October, 2004 - 15:10
Hello everybody,
I love the bookmarks. They are perfect when working with long files. But the setting of a bookmark changes the status of the buffer to CHANGED. I thing it's a little bit confusing. Is it necessary? I hope it isn't.
Petr
Java error with OS X
Submitted by Anonymous on Saturday, 2 October, 2004 - 19:23
Hi,
I installed jEdit on my Mac running OS X (10.2.6). When I launch jEdit, I get an error message that says, "Mac OS plugin requires newer version of Java (MRJ 99)." I have the very latest update of Java from Apple installed on my computer, though, so I don't know why it says that. Any help would be greatly appreciated.
Thank you,
Sally
antialiasing GUI
Submitted by Anonymous on Sunday, 3 October, 2004 - 03:52
I just learned that Java v1.5 has a command line switch to force font antialiasing :
-Dswing.aatext=true
I tried it with jEdit 4.2 final on Win2K and it works!
Extremly slow I/O over VPN
Submitted by Anonymous on Sunday, 3 October, 2004 - 17:26
Hi,
I have this problem with jEdit. I'm using it to edit files on SMB mapped disk over VPN. The link speed is 128/16KBs. The problem is that all I/O operations are extremly slow in jEdit. Browsing directory with 30 files takes about minute to finish (with explorer it takes about 1 sec). Saving buffers behaves even stranger. Sometimes it takes 1-2 secs and sometimes even 1 minute to save 10-20KB large buffer (with other editors it takes always cca 2-3secs). Also when I switch to jEdit it takes cca 1-2secs to draw it's window (but this time is stable) and switching between buffers is quick as normal.
Can anyone explain me this strange behaviour? I've tested JRE 1.5.0 and 1.4.1, jEdits 4.2final and 3.2.
Radek
Jedit4.0 (not jEdit 4.0)
Submitted by Anonymous on Monday, 4 October, 2004 - 00:54
Found
another jedit. Hmm, even the most recent version numbers are pretty close. Although I get a feeling that this one is more of a "Japanese edit" rather than "Java edit." What are the possible ramifications of this? Would a worm hole in the spacetime continuum appear that connects us to a parallel universe (haven't seen back to the future in a while)...??
Odd coding style support?
Submitted by
Langman on
Monday, 4 October, 2004 - 18:08
Hi,
I just started working on a new project that is using a very unique (read: I hate it) codeing style..
Any idea how I can modify the cplusplus.xlm so that it is more friendly to this style???
int x(int i)
...{
...switch(i)
......{
......case 1:
.........return 10;
......}
...return i;
...}
(ignore the dots. They were needed to maintain the structure)
Note that the body code and the {} line up, which is different from the so called "GNU coding style". I got it working so that the '{' is indented correctly but I can't seem to prevent jEdit from indenting again for the line following the '{'. Also, I can't see how I can tell jEdit to reduce the indent level for lines following a '}'..
Any help would be much appreciated.
Proper Case
Submitted by
jpbroome on
Tuesday, 5 October, 2004 - 20:41
Anyone have a macro or know of a plugin that handles more Text Case options than just UPPERCASE or lowercase? Specifically, I'm looking for "Proper Case" or "Capitalized", where every first letter in a selection is capitalized.
Here's a spiffy javascript function that does it. Anyone have a jEdit equivalent?
function toTitleJscript(str) {
return str.replace(/(s[a-z])/g,function (match) { return
match.toUpperCase() });
Thanks in advance
Allow multiple docked views for one plug in
Submitted by Anonymous on Tuesday, 5 October, 2004 - 21:49
As I understand, jEdit allows one Option Pane per plugin as evident in the dock position assignment screen.
It would be very cool to have multiple views for one plugin.
Example:
A CVS plugin could have these views
1. "CVS Repositories" - contains the list of repositories with checkout function
2. "CVS Resource History" - contains revision change details
3. "Synchronization" - list of files that are changed locally or remotely
Select RegExp HyperSearch Matches (Select_HyperSearch_Matches_RegExp.bsh v1.0 by Jakub Holy)
Submitted by
malyvelky on
Thursday, 7 October, 2004 - 07:41
A Beanshell macro script for the jEdit text editor - selects all matches for the last
HyperSearch in the current EditPane. Contrary to the original macro that selects the whole line containing (the start of) a match, this one sets the selection exactly from the beginning of the match to its end thus possibly spanning across multiple lines. Thanks to this it's well suitable for regular expression search.
JEdit42final: Scrolling seems to hang
Submitted by
Hans_Bauer on
Thursday, 7 October, 2004 - 11:11
Few days ago i installed a new pc with WinXP, Java 1.5.0 and JEdit42final. Scrolling is nearly impossible even for small text files (< 200 lines). JEdit seems to hang for several seconds before stumpling some lines.
Does anyone have the same problem and knows a solution or could give some tips?
Thank you all.
Is there any way to count the number of times a character occurs in a selection?
Submitted by Anonymous on Thursday, 7 October, 2004 - 15:05
Title sums up my quesiton. I try Search and Replace and when I enter the character in the Search field and click find it ALWAYS says there is only one occurrence when I can plainly see several.
I also do not see anything in the text tools plugin or other standard JEdit functionality.
Seems like a pretty simple task. Am I missing something here?
PHP getter/setter macro
Submitted by
stavros on
Thursday, 7 October, 2004 - 16:53
Hey Folks.
Over the weekend I started working on a new project and was laying the infrastructure/groundwork out for everything .. doing up the class libs and what not .. I used DB_DataObject a lot in the past to generate my db class object code, but I decided to use my own rolled DbObject class and found myself writting millions of getters/setters for my class files.
Anyway, I got bored of that and found a macro someone wrote (and is posted somewhere on the site) which generates getters/setters for a c or java file and figured, what the heck, let's tweak that for php.
So I did ... and have it working for me somehow ok .. you just highlite the vars, run the macro and it whips them out, you can even select to use javadoc style comments or not.
The original author did a great job, kudos to him/her, wherever they are ... if anyone is interested in using this hacked-for-php version, I can post it somewhere here .. there are a few idiosincrosies I guess that make it work the way I work, but it's a start at least. For instance, for some reason I my db variables/columns use_this_approach to var naming ... when I code, I use studlyCaps, so my class files look like this.
class Something {
protected $first_var; // <-- this is how it's named in the db
// and the getter/setter for that looks like
// {{{ Getters
/**
* javadoc
*/
public function getFirstVar($first_var) {
$this->first_var = $first_var;
}
// }}} End Getters
// {{{ Setters
/**
* javadoc
*/
public function getFirstVar() {
return $this->first_var;
}
// }}} End setters
} // class
hah ... interesting, eh? Don't know why I do that, but anyway ... that's how "my" .bsh macro does the getters/setters, but you can hack it pretty easily to work like you do (in a php4 style too, if necessary)... there's more work to be done to make the macro more helpful/slick but if anyone might find it helpful for now, I'll throw her up somewhere ...
-steve
Executing java programs from jedit?
Submitted by Anonymous on Thursday, 7 October, 2004 - 21:29
hi. Just started Jedit. I have used textpad earlier and in it i could launch my program directly from textpad. When i used the "run program" button in textpad a command prompt opened with the output of the program. How can i do that in textpad? Is it possible? I have seen the run button in the console but nothing happens.
Hope someone can answer me
LaTeX math symbols for XInsert (LaTeX_math_symbols.insert.xml v0.1 by rikal)
Submitted by
rikal on
Friday, 8 October, 2004 - 12:52
This is a list of LaTeX math symbols for the XInsert plugin. You need to specify a Unicode font for the GUI (it should work with the standard Dialog font provided with Java, Lucida Sans). If you use Java 1.5, you can enable autoaliasing by using the -Dswing.aatext=true option in your jEdit startup script. For the present it only covers standard LaTeX math symbols, but AMS symbols, IPA characters and dingbats will come soon.