Apache OpenOffice (AOO) Bugzilla – Issue 15105
Cannot edit Rhino scripts stored in documents
Last modified: 2003-06-13 13:11:40 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.
Need to add code to the Rhino debugger to enable loading scripts from an InputStream.
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.
verified fixed on Solaris OO.org, SF0.3 rc4 closing issue.