Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Cannot edit Rhino scripts stored in documents | ||
---|---|---|---|
Product: | General | Reporter: | tomaisoc |
Component: | scripting | Assignee: | 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
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. |