From 0ff1ca4655863056240dc1e186bbeebf3d10b218 Mon Sep 17 00:00:00 2001 From: TheDuriel Date: Mon, 20 Jul 2020 14:38:34 +0200 Subject: [PATCH] Clarify TreeItem return values --- doc/classes/TreeItem.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 126d6b41803..22e643a51d9 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -118,7 +118,7 @@ - Returns the TreeItem's child items. + Returns the TreeItem's first child item or a null object if there is none. @@ -196,7 +196,7 @@ - Returns the next TreeItem in the tree. + Returns the next TreeItem in the tree or a null object if there is none. @@ -205,7 +205,7 @@ - Returns the next visible TreeItem in the tree. + Returns the next visible TreeItem in the tree or a null object if there is none. If [code]wrap[/code] is enabled, the method will wrap around to the first visible element in the tree when called on the last visible element, otherwise it returns [code]null[/code]. @@ -213,14 +213,14 @@ - Returns the parent TreeItem. + Returns the parent TreeItem or a null object if there is none. - Returns the previous TreeItem in the tree. + Returns the previous TreeItem in the tree or a null object if there is none. @@ -229,7 +229,7 @@ - Returns the previous visible TreeItem in the tree. + Returns the previous visible TreeItem in the tree or a null object if there is none. If [code]wrap[/code] is enabled, the method will wrap around to the last visible element in the tree when called on the first visible element, otherwise it returns [code]null[/code].