From f9ec37bbdd630bde8ca9974754701d2f92eb581b Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Wed, 6 Jun 2012 16:39:33 -0400 Subject: [PATCH] Minor fix in mrlib/hierlist docs --- collects/mrlib/scribblings/hierlist/compound-item.scrbl | 2 +- collects/mrlib/scribblings/hierlist/item.scrbl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/collects/mrlib/scribblings/hierlist/compound-item.scrbl b/collects/mrlib/scribblings/hierlist/compound-item.scrbl index a1407b94e5..bcf19a24b6 100644 --- a/collects/mrlib/scribblings/hierlist/compound-item.scrbl +++ b/collects/mrlib/scribblings/hierlist/compound-item.scrbl @@ -47,7 +47,7 @@ Returns a list of all immediate items in the sub-list.} Shows or hides the items of this sub-list.} -@defmethod[(is-open) boolean?]{ +@defmethod[(is-open?) boolean?]{ Reports whether the items of this sub-list are visible.} diff --git a/collects/mrlib/scribblings/hierlist/item.scrbl b/collects/mrlib/scribblings/hierlist/item.scrbl index a6c1d2a571..ffe10b657c 100644 --- a/collects/mrlib/scribblings/hierlist/item.scrbl +++ b/collects/mrlib/scribblings/hierlist/item.scrbl @@ -42,4 +42,10 @@ list. This method is intended for use with an automatic test suite.} Gets/sets whether this item is allowed to be selected.} + +@defmethod[(get-parent) (or/c (is-a?/c hierarchical-list-compound-item<%>) #f)]{ + +Returns the compound list item that contains the item or @racket[#f] if +none exists.} + }