Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dash » Examples, examples.
Examples, examples. [message #560469] Tue, 11 December 2007 17:54
Eclipse UserFriend
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.
Previous Topic:Help with Monkey script (IllegalArgumentException calling Eclipse API method)
Next Topic:Examples, examples.
Goto Forum:
  


Current Time: Fri Apr 26 13:49:17 GMT 2024

Powered by FUDForum. Page generated in 0.06284 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top