From 7a4f68d6ce14d95e510596bd8061361198ba86f1 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 9 May 2009 16:29:25 +1000 Subject: [PATCH] Document marks.all. --- common/content/buffer.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index 512a541a..a90f91ce 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -987,8 +987,8 @@ function Buffer() //{{{ /** * Evaluates an XPath expression in the current or provided - * document. It provides the xhtml and liberator XML - * namespaces. The result may be used as an iterator. + * document. It provides the xhtml and liberator XML namespaces. The + * result may be used as an iterator. * * @param {string} expression The XPath expression to evaluate. * @param {Document} doc The document to evaluate the expression in. @@ -1518,7 +1518,8 @@ function Buffer() //{{{ }, /** - * Opens a viewer to inspect the source of the currently selected range. + * Opens a viewer to inspect the source of the currently selected + * range. */ viewSelectionSource: function () { @@ -1803,6 +1804,10 @@ function Marks() //{{{ return { + /** + * @property {Array} Returns all marks, both local and URL, in a sorted + * array. + */ get all() getSortedMarks(), /**