1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 22:39:56 +00:00

add variable signature tooltip to search-variables macro

This commit is contained in:
pmario 2024-04-30 15:53:53 +02:00
parent 81f109319e
commit 056a6daa58
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Variables/Clear/Exclude: Clear exlude
Variables/Clear/Search: Clear search Variables/Clear/Search: Clear search
Variables/Exclude: Exclude: Variables/Exclude: Exclude:
Variables/Exclude/Edit: Edit Variables/Exclude/Edit: Edit
Variables/Function/Content: Function content Variables/Function/Content: Function definition
Variables/Function/Definition: Function definition Variables/Function/Definition: Function definition
Variables/Exclude/Hide: Hide exclude input Variables/Exclude/Hide: Hide exclude input
Variables/Exclude/Hint: Exclude Filter eg: [prefix[.]] Variables/Exclude/Hint: Exclude Filter eg: [prefix[.]]

View File

@ -162,6 +162,7 @@ tags: $:/tags/Global
+[count[]] }$` +[count[]] }$`
/> <<lingo Matches>></p> /> <<lingo Matches>></p>
<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>]
@ -175,7 +176,7 @@ tags: $:/tags/Global
<% else %> <% else %>
{{$:/core/images/right-arrow}} {{$:/core/images/right-arrow}}
<% endif %> <% endif %>
<code class="tc-small-gap-right"><$text text=<<tf.dv-formattedVar>>/></code> <code title={{$:/language/Search/Variables/Signature}} class="tc-small-gap-right"><$text text=<<tf.dv-formattedVar>>/></code>
</$button> </$button>
<% if [<tf.dv-formattedVar>prefix[\function]] %> <% if [<tf.dv-formattedVar>prefix[\function]] %>
<!-- 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 -->
@ -210,6 +211,7 @@ tags: $:/tags/Global
<% endif %> <% endif %>
</div> </div>
</$list> </$list>
</div>
\end \end