Issue 15105 - Cannot edit Rhino scripts stored in documents
Summary: Cannot edit Rhino scripts stored in documents
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1 Beta
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: tomaisoc
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-30 16:22 UTC by tomaisoc
Modified: 2003-06-13 13:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tomaisoc 2003-05-30 16:22:19 UTC
Currently if you select a Rhino script which is stored in a document in the
Edit/Debug window and click OK nothing happens. The Rhino debugger should be
opened with the source of the selected script.
Comment 1 tomaisoc 2003-05-30 16:31:47 UTC
Need to add code to the Rhino debugger to enable loading scripts from
an InputStream.
Comment 2 tomaisoc 2003-06-02 16:17:40 UTC
Modified Main.java so to add an openStream method for initialising the
debugger from an InputStream. By default the debugger would send any
input data that wasn't associated with a filename to the internal
JavaScript interpreter console, so I changed the code that sets
the URL for the source to "<stdin>" if there is not filename to use
"document" instead. This way the source gets loaded in a new window
titled "document". More work would be required if we want to have a
more meaningful title for the window.
Comment 3 robert.kinsella 2003-06-13 13:11:40 UTC
verified fixed on Solaris OO.org, SF0.3 rc4
closing issue.