|Examples, examples. [message #2835]
||Tue, 11 December 2007 17:54
Originally posted by: Jim.Cooper.sas.com|
Just installed Eclipse Monkey from the Europa Discovery site.
Created the example scripts, and tried to run them.
Editors__Comment_Lines.js, for instance, gives me a
"java.lang.NullPointerException" on line 16, which is:
var range = editor.selectionRange;
That means the previous line:
var editor = editors.activeEditor;
Got a NULL return.
So... how am I supposed to learn to use this, when even the simple
examples given don't work?
Yes, I had an editor window open, and had selected some lines in that
window, before attempting to run the script.
There is also a sad lack of information on how to write scripts... I
realize this is an incubation project, still in the early stages... but
I would expect something available from the main update site to be at
least a tiny bit better supported.
Any help at all would be great. If I need to join the developer's
mailing list to get answers, that's fine, too... as long as you tell me
how/where to join.
Powered by FUDForum
. Page generated in 0.03258 seconds