mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-29 08:33:07 +00:00
indent main-pocedures body by 1 to make nested functions more visible
This commit is contained in:
parent
3b7544f640
commit
c7a4558f6f
@ -34,14 +34,12 @@ tags: $:/tags/Global
|
||||
<!-- dumpvariables main procedure -->
|
||||
<!-- ============================ -->
|
||||
\procedure dumpvariables(type sort subfilter:"[[]]" format)
|
||||
|
||||
<!-- The following function is needed since the "format" string can contain closing brackets ")" -->
|
||||
<!-- Be aware that the "format" filter operator uses $var-name$ for compatibility reasons -->
|
||||
\function _tf.dv-varFormatStr() [<format>!is[blank]then<format>else[$type$ $name$($params$)]]
|
||||
\function _tf.dv-type() [<type>]
|
||||
\function _tf.dv-sort() [<sort>]
|
||||
|
||||
<ul>
|
||||
<!-- The following function is needed since the "format" string can contain closing brackets ")" -->
|
||||
<!-- Be aware that the "format" filter operator uses $var-name$ for compatibility reasons -->
|
||||
\function _tf.dv-varFormatStr() [<format>!is[blank]then<format>else[$type$ $name$($params$)]]
|
||||
\function _tf.dv-type() [<type>]
|
||||
\function _tf.dv-sort() [<sort>]
|
||||
<ul>
|
||||
<$list filter="[subfilter<tf.dv-filterString>] +[filter<subfilter>]" variable="varname">
|
||||
<li>
|
||||
<code title={{$:/language/Search/Variables/Signature}}><$text text=<<tf.dv-formattedVar>>/></code><br/>
|
||||
@ -51,7 +49,7 @@ tags: $:/tags/Global
|
||||
<pre title={{$:/language/Search/Variables/Content}}><code><$text text={{{ [<varname>getvariable[]] }}}/></code></pre>
|
||||
</li>
|
||||
</$list>
|
||||
</ul>
|
||||
</ul>
|
||||
\end
|
||||
|
||||
<!-- search-variables helper functions -->
|
||||
@ -155,29 +153,28 @@ tags: $:/tags/Global
|
||||
<!-- search-variables main procedure -->
|
||||
<!-- =============================== -->
|
||||
\procedure search-variables(type sort subfilter:"[[]]" format)
|
||||
<!-- The following function is needed since the "format" string can contain closing brackets ")" -->
|
||||
<!-- Be aware that the "format" filter operator uses $var-name$ for compatibility reasons -->
|
||||
\function _tf.dv-varFormatStr() [<format>!is[blank]then<format>else[$type$ $name$($params$)]]
|
||||
\function _tf.dv-type() [<type>!is[blank]then<type>] :else[<tf.dv-tmpTypeOptions>get[text]]
|
||||
\function _tf.dv-sort() [<sort>!is[blank]then<sort>] :else[<tf.dv-tmpSortOptions>get[text]] :else[[alphabetical]]
|
||||
|
||||
<!-- The following function is needed since the "format" string can contain closing brackets ")" -->
|
||||
<!-- Be aware that the "format" filter operator uses $var-name$ for compatibility reasons -->
|
||||
\function _tf.dv-varFormatStr() [<format>!is[blank]then<format>else[$type$ $name$($params$)]]
|
||||
\function _tf.dv-type() [<type>!is[blank]then<type>] :else[<tf.dv-tmpTypeOptions>get[text]]
|
||||
\function _tf.dv-sort() [<sort>!is[blank]then<sort>] :else[<tf.dv-tmpSortOptions>get[text]] :else[[alphabetical]]
|
||||
<<dv-searchForm>>
|
||||
|
||||
<<dv-searchForm>>
|
||||
|
||||
<p tabindex="0"><$text text=`${ [subfilter<tf.dv-filterString>]
|
||||
<p tabindex="0"><$text text=`${ [subfilter<tf.dv-filterString>]
|
||||
+[search::some<tf.dv-getSearchText>]
|
||||
+[filter<subfilter>]
|
||||
+[!filter<tf.dv-getExcludeText>]
|
||||
+[count[]] }$`
|
||||
/> <<lingo Matches>></p>
|
||||
/> <<lingo Matches>></p>
|
||||
|
||||
<div class="tc-variables-results">
|
||||
<$list filter="[subfilter<tf.dv-filterString>]
|
||||
<div class="tc-variables-results">
|
||||
<$list filter="[subfilter<tf.dv-filterString>]
|
||||
+[search::some<tf.dv-getSearchText>]
|
||||
+[filter<subfilter>]
|
||||
+[!filter<tf.dv-getExcludeText>]"
|
||||
variable="varname"
|
||||
>
|
||||
>
|
||||
<div class="tc-var-item">
|
||||
<$button actions=<<dv-toggleState>> class="tc-small-gap-left tc-btn-invisible">
|
||||
<% if [<tf.dv-varState>get[text]match[yes]] %>
|
||||
@ -225,8 +222,8 @@ tags: $:/tags/Global
|
||||
</blockquote>
|
||||
<% endif %>
|
||||
</div>
|
||||
</$list>
|
||||
</div>
|
||||
</$list>
|
||||
</div>
|
||||
\end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user