Issue 15105

Summary: Cannot edit Rhino scripts stored in documents
Product: General Reporter: tomaisoc
Component: scriptingAssignee: tomaisoc
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: OOo 1.1 Beta   
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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.