[Greasemonkey] edit script
daddydave
daddydave at gmail.com
Tue May 23 11:54:47 EDT 2006
Not sure what platform you are on but
I created a batch file c:\bat\jeditgm.bat with the single line:
"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -jar "C:\Program
Files\jEdit\jedit.jar" %1
Then set the greasemonkey editor to c:\bat\jeditgm.bat and it works!
At the risk of starting an editor war, Notepad++ is pretty nice for
javascript editing I think: code folding, brace matching, syntax
highlighting, plugin architecture. You just reminded me to install the
function autocomplete plugin!
On 5/23/06, Ted Ernst <ted at chicagohumanist.org> wrote:
> Great! Thanks to both of you. Must be a jEdit problem because when I
> changed the path to Wordpad, it worked fine. Thanks!
>
> On 5/23/06, Vectorspace <vectorspace at ntlworld.com> wrote:
> > Type about:config into the Firefox address bar to reveal a complete list
> > of Firefox's preferences
> >
> > Find the preference greasemonkey.editor
> >
> > It should be the path to the jEdit exe. Check the path is correct. It
> > could be that jEdit doesn't support launching a file from the command
> > line, try setting it to another text editor to see if it works.
> >
> > Ted Ernst wrote:
> > > I'm learning how to write for greasemonkey. I wrote a script and
> > > installed it and it worked! Cool. Now I'd like to use the edit
> > > function inside greasemonkey. The first time I tried it I was given
> > > the option to choose an editor. I navigated to jEdit but nothing
> > > seemed to happen. And now when I click on the edit button from the
> > > manage userscripts window, nothing happens.
> > >
> > > Suggestions?
> > >
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> >
>
>
> --
> Humanize the Earth! http://tedernst.com
> Open more space! http://www.openspaceworld.org
> Chicago event July 14-16: http://moreandmore.us/
> skype: TedErnst
> google talk/jabber: tedernst at gmail.com
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list