title: $:/core/macros/dumpvariables tags: $:/tags/Global \whitespace trim \procedure _initRawFilter() [variables:raw] \procedure _initFilter() [variables] \function _f.filterString() [match[raw]then<_initRawFilter>else<_initFilter>] \function _f.varFormat() [!is[blank]thenelse[$type$ $name$($params$)]] \function _f.formattedVar() [format:variable<_f.varFormat>] \procedure dumpvariables(type sort:"sort" subfilter:"[[]]" format)
  • <>
  • <$list filter="[subfilter<_f.filterString>] +[filter]" variable="varname">
  • <$text text=<<_f.formattedVar>>/>
    <% if [<_f.formattedVar>prefix[\function]] %> <$codeblock code={{{ [getvariable[value]] }}}/> <% endif %> <$codeblock code={{{ [getvariable[]] }}}/>
\end \procedure search() $:/temp/search/dump \procedure sub-search() $:/temp/search/sub-dump \procedure state() $:/state/search/var/ \procedure toggleState() <$action-setfield $tiddler=<> text={{{ [get[text]] +[toggle[yes],[no]] }}}/> \end toggleState \procedure toggleInfoState() <$action-setfield $tiddler=<> text={{{ [get[text]] +[toggle[yes],[no]] }}}/> <$action-setfield $tiddler=<> text={{{ [!is[blank]then] :else[format:variable[$type$ $name$$params$]] }}} /> \end toggleInfoState \procedure clearStatesButton() <$button class="tc-btn-invisible tc-tiny-gap-left"> <$action-deletetiddler $filter="[prefix] [prefix[$:/temp]]"/> {{$:/core/images/fold-all-button}} \end clearStatesButton \procedure clearSearchButton() <$button class="tc-btn-invisible tc-tiny-gap-left"> <$action-deletetiddler $tiddler=<>/> {{$:/core/images/close-button}} \end clearSearchButton \procedure expandAllStatesButton() <$button class="tc-btn-invisible tc-tiny-gap-left"> <$action-setfield $tiddler=<> text={{{ [get[text]] +[toggle[yes],[no]] }}}/> <$list filter="[subfilter<_f.filterString>] +[search::some] +[filter]" variable="varname"> <$action-setfield $tiddler=<> text="yes"/> {{$:/core/images/unfold-all-button}} \end expandAllStatesButton \procedure info()
<$list filter="[all[tiddlers+shadows]] :filter[search:text,tags:words] -[[$:/config/OriginalTiddlerPaths]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/core]] :filter[!type[application/javascript]] :filter[!prefix[$:/temp]] :filter[!prefix[$:/state]] :filter[!plugin-type[plugin]]" > <$link class="tc-small-gap-left"/>
\end info \function getSearchText() [get[text]] \function getSubSearch() [] [] [] +[join[/]] \function getSubSearchText() [get[text]] \function getVarState() [addsuffix] [] +[join[]] \function getToggleInfoState() [addsuffix] \procedure search-variables(type sort:"sort" subfilter:"[[]]" format) \function _f.varFormat() [!is[blank]thenelse[$type$ $name$($params$) $firstLine$]] <$text text="Search Variables - "/><%if [!match[$:/AdvancedSearch]]%>sort: <>, type:<><%endif%> <$edit-text tiddler=<> tag=input/> <> <% if [get[text]match[yes]] %> <> <% else %> <> <% endif %> <$list filter="[subfilter<_f.filterString>] +[search::some] +[filter]" variable="varname">
<$button actions=<> class="tc-small-gap-left tc-btn-invisible"> <% if [get[text]match[yes]] %> {{$:/core/images/down-arrow}} <% else %> {{$:/core/images/right-arrow}} <% endif %> <$text text=<<_f.formattedVar>>/> <% if [get[text]match[yes]] %> <$button actions=<> class="tc-btn-invisible tc-small-gap-left" disabledX={{{[is[blank]then[yes]else[no]] }}}> <% if [get[text]match[yes]] %> {{$:/core/images/down-arrow}} <% else %> {{$:/core/images/right-arrow}} <% endif %> <% if [get[text]match[yes]] %>
Search text, tags: <$edit-text tiddler=<> tag=input class="tc-fluid-input tc-small-gap-left"/>
<> <% endif %> <% if [prefix[\function]] %> <$codeblock code={{{ [getvariable[value]] }}}/> <% endif %> <$codeblock code={{{ [getvariable[]] }}}/> <% endif %>

\end