Bug 163983 - The method: newDocument() is not defined in the Document Class
Summary: The method: newDocument() is not defined in the Document Class
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: scripting (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 18:28 UTC by Yiwen Mao
Modified: 2008-06-17 00:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiwen Mao 2008-06-13 18:28:21 UTC
Version:           1.7.0 (using KDE 4.0.1)
Installed from:    Unspecified
Compiler:          Fedora 6 
OS:                Linux

newDocument() is not defined in the Document class

Open Kst
kst> d=Kst.document
Document
kst> d.newDocument()
Error: TypeError: Value undefined (result of expression d.newDocument) is not an object. Cannot be called.

Error returns after calling newDoucment()
Comment 1 Andrew Walker 2008-06-13 18:33:38 UTC
Modified documentation in bind_document.h
Comment 2 Yiwen Mao 2008-06-16 21:18:58 UTC
kst> Kst.document.newDocument()
Error: TypeError: Value undefined (result of expression Kst.document.newDocument) is not an object. Cannot be called.

The error still exists
Comment 3 Andrew Walker 2008-06-17 00:58:50 UTC
The usage is:

Kst.document.clear()