Index: openacs-4/packages/acs-templating/www/doc/TclDocs/doc__util.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/doc__util.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/TclDocs/doc__util.adp 27 Oct 2014 16:40:16 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/doc__util.adp 7 Aug 2017 23:48:02 -0000 1.3 @@ -1,28 +1,35 @@ -{/doc/acs-templating {Templating}} {} +{/doc/acs-templating {ACS Templating}} {} +

Namespace doc::util

+

Method Summary

- -

Namespace doc::util

Method Summary

-Listing of public methods:
The namespace doc::util currently contains no public -methods.

Method Detail

-* indicates required

-Private Methods:
-

+Listing of public methods:
+
The namespace doc::util currently contains no public +methods.
+

Method Detail

+

+* indicates required

+

+Private Methods:
+

+
-
set split_name $see_name doc::util::text_divider split_name :: set name_length [llength $split_name] set see_namespace [join [lrange $split_name 0 -[expr $name_length - 2]] \"\"] set url \"[doc::util::dbl_colon_fix -$see_namespace].html#[set see_name]\"
procedure to deal with \@see comments
+[expr $name_length - 2]] \"\"] set url +\"[doc::util::dbl_colon_fix $see_namespace].html#[set +see_name]\" +
procedure to deal with \@see comments
+ -
divides a string variable into a list of strings, all but the first element beginning with the indicated text {marker;} the first element of the created list contains all of the string preceding the first occurrence of the text marker
-Parameters: +Parameters:
text* @@ -34,19 +41,21 @@ the string indicating text division
-
See Also:
proc - doc::util::find_marker_indices
+
See Also:
proc - doc::util::find_marker_indices
+
+ -
escapes out all square brackets
+
+ -
given a body of text and a text marker, returns a list of position indices for each occurrence of the text marker
-Parameters: +Parameters:
text* @@ -57,22 +66,24 @@ the text-divider mark
-
Returns:
list of indices of the position immediately preceding each +
Returns:
list of indices of the position immediately preceding each occurrence of the text marker; if there are no occurrences of the -text marker, returns a zero-element list
See Also:
namespace - doc
-
proc - doc::parse_file
doc::parse_namespace
doc::util::text_divider
+text marker, returns a zero-element list
See Also:
namespace - doc
+
proc - doc::parse_file
doc::parse_namespace
doc::util::text_divider
+
+ -
puts a space after all closing curly brackets, does not add a space when brackets are already followed by a space
+
+ -
used to sort the see list, which has structure {[name} name type type url url \]
-Parameters: +Parameters:
element1* @@ -86,10 +97,12 @@
+
+ -
+
+ -

+ +

* indicates required

-