mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-30 00:52:52 +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 -->
|
<!-- dumpvariables main procedure -->
|
||||||
<!-- ============================ -->
|
<!-- ============================ -->
|
||||||
\procedure dumpvariables(type sort subfilter:"[[]]" format)
|
\procedure dumpvariables(type sort subfilter:"[[]]" format)
|
||||||
|
<!-- The following function is needed since the "format" string can contain closing brackets ")" -->
|
||||||
<!-- 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 -->
|
||||||
<!-- 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-varFormatStr() [<format>!is[blank]then<format>else[$type$ $name$($params$)]]
|
\function _tf.dv-type() [<type>]
|
||||||
\function _tf.dv-type() [<type>]
|
\function _tf.dv-sort() [<sort>]
|
||||||
\function _tf.dv-sort() [<sort>]
|
<ul>
|
||||||
|
|
||||||
<ul>
|
|
||||||
<$list filter="[subfilter<tf.dv-filterString>] +[filter<subfilter>]" variable="varname">
|
<$list filter="[subfilter<tf.dv-filterString>] +[filter<subfilter>]" variable="varname">
|
||||||
<li>
|
<li>
|
||||||
<code title={{$:/language/Search/Variables/Signature}}><$text text=<<tf.dv-formattedVar>>/></code><br/>
|
<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>
|
<pre title={{$:/language/Search/Variables/Content}}><code><$text text={{{ [<varname>getvariable[]] }}}/></code></pre>
|
||||||
</li>
|
</li>
|
||||||
</$list>
|
</$list>
|
||||||
</ul>
|
</ul>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
<!-- search-variables helper functions -->
|
<!-- search-variables helper functions -->
|
||||||
@ -155,29 +153,28 @@ tags: $:/tags/Global
|
|||||||
<!-- search-variables main procedure -->
|
<!-- search-variables main procedure -->
|
||||||
<!-- =============================== -->
|
<!-- =============================== -->
|
||||||
\procedure search-variables(type sort subfilter:"[[]]" format)
|
\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 ")" -->
|
<<dv-searchForm>>
|
||||||
<!-- 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>>
|
<p tabindex="0"><$text text=`${ [subfilter<tf.dv-filterString>]
|
||||||
|
|
||||||
<p tabindex="0"><$text text=`${ [subfilter<tf.dv-filterString>]
|
|
||||||
+[search::some<tf.dv-getSearchText>]
|
+[search::some<tf.dv-getSearchText>]
|
||||||
+[filter<subfilter>]
|
+[filter<subfilter>]
|
||||||
+[!filter<tf.dv-getExcludeText>]
|
+[!filter<tf.dv-getExcludeText>]
|
||||||
+[count[]] }$`
|
+[count[]] }$`
|
||||||
/> <<lingo Matches>></p>
|
/> <<lingo Matches>></p>
|
||||||
|
|
||||||
<div class="tc-variables-results">
|
<div class="tc-variables-results">
|
||||||
<$list filter="[subfilter<tf.dv-filterString>]
|
<$list filter="[subfilter<tf.dv-filterString>]
|
||||||
+[search::some<tf.dv-getSearchText>]
|
+[search::some<tf.dv-getSearchText>]
|
||||||
+[filter<subfilter>]
|
+[filter<subfilter>]
|
||||||
+[!filter<tf.dv-getExcludeText>]"
|
+[!filter<tf.dv-getExcludeText>]"
|
||||||
variable="varname"
|
variable="varname"
|
||||||
>
|
>
|
||||||
<div class="tc-var-item">
|
<div class="tc-var-item">
|
||||||
<$button actions=<<dv-toggleState>> class="tc-small-gap-left tc-btn-invisible">
|
<$button actions=<<dv-toggleState>> class="tc-small-gap-left tc-btn-invisible">
|
||||||
<% if [<tf.dv-varState>get[text]match[yes]] %>
|
<% if [<tf.dv-varState>get[text]match[yes]] %>
|
||||||
@ -225,8 +222,8 @@ tags: $:/tags/Global
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
</div>
|
</div>
|
||||||
</$list>
|
</$list>
|
||||||
</div>
|
</div>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user