add some temporary test tiddlers and plugins

This commit is contained in:
pmario 2024-04-30 11:15:01 +02:00
parent 7ac47b646b
commit c3d0d2432b
8 changed files with 73 additions and 10 deletions

View File

@ -81,7 +81,7 @@ tags: $:/tags/Global
\procedure dv-clearSearchButton()
<$button class="tc-btn-invisible btn-x" tooltip={{$:/language/Search/Variables/Clear/Search}}>
<$action-deletetiddler $tiddler=<<tf.dv-searchText>>/>
<$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.x-inp"/>
<$action-sendmessage $message="tm-focus-selector" $param="input.x-inp"/>
{{$:/core/images/close-button}}
</$button>
\end
@ -89,7 +89,7 @@ tags: $:/tags/Global
\procedure dv-clearExcludeButton()
<$button class="tc-btn-invisible btn-yy" tooltip={{$:/language/Search/Variables/Clear/Exclude}}>
<$action-deletetiddler $tiddler=<<tf.dv-excludeText>>/>
<$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.y-inp"/>
<$action-sendmessage $message="tm-focus-selector" $param="input.y-inp"/>
{{$:/core/images/close-button}}
</$button>
\end
@ -355,7 +355,7 @@ tags: $:/tags/Global
\procedure dv-lc-actions()
<$action-setfield $tiddler=<<tf.dv-excludeText>> text=<<navigateTo>>/>
<!-- <$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.y-inp"/> -->
<!-- <$action-sendmessage $message="tm-focus-selector" $param="input.y-inp"/> -->
\end
\procedure dv-addNewVariableFilter-actions()

View File

@ -0,0 +1,6 @@
created: 20240311170828385
modified: 20240311170828385
title: $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar
type: text/vnd.tiddlywiki
show

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
author: Mario Pietsch
core-version: >=5.3.3
dependents:
description: Internal links are added to tabs if selected
icon: $:/plugins/wikilabs/link-to-tabs/icon
list: readme settings license history
name: Link to Tabs
plugin-type: plugin
title: $:/plugins/wikilabs/link-to-tabs
type: application/json
version: 3.0.0

View File

@ -0,0 +1,32 @@
{
"tiddlers": {
"$:/config/ShortcutInfo/tab": {
"text": "Insert Tab",
"title": "$:/config/ShortcutInfo/tab"
},
"$:/config/shortcuts-mac/tab": {
"text": "tab",
"title": "$:/config/shortcuts-mac/tab"
},
"$:/config/shortcuts-not-mac/tab": {
"text": "tab",
"title": "$:/config/shortcuts-not-mac/tab"
},
"$:/tab/icon": {
"text": "<svg class=\"tc-image-tab tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M122 123h-11.5V65.3H122zm-19.3-28.8L73.9 123V99.9H6.6V88.4h67.3V65.3zM6.6 65.4V7.7h11.5v57.7zm19.3-28.8L54.7 7.8v23.1H122v11.5H54.7v23.1z\"/></svg>",
"tags": "$:/tags/Image",
"title": "$:/tab/icon"
},
"$:/insert/tab": {
"text": "<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"insert-text\"\n\ttext={{{ [charcode[9]] }}}\n/>",
"title": "$:/insert/tab",
"tags": "$:/tags/EditorToolbar",
"icon": "$:/tab/icon",
"caption": "Tab",
"description": "Insert Tab",
"condition": "[<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]",
"shortcuts": "((tab))",
"condition-disabled": "[[$:/temp/bold/disabled]get[state-disabled]else[no]]"
}
}
}

View File

@ -0,0 +1,7 @@
description: Toolbar button to get a tab space character
modified: 20230806185015211
name: Tab character
plugin-type: plugin
title: $:/tab
type: application/json
version: 0.0.2

View File

@ -0,0 +1,6 @@
created: 20240312113200405
modified: 20240312113200405
title: $:/themes/tiddlywiki/vanilla/settings/editorfontfamily
type: text/vnd.tiddlywiki
"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace

View File

@ -1,5 +1,5 @@
created: 20240427121446051
modified: 20240427122708648
modified: 20240429205843171
title: search-variables Macro (Examples)
type: text/vnd.tiddlywiki
@ -8,22 +8,22 @@ The following example will list all variables that contain the word "example" in
While ''the following list will be long'' it should be easy to refine it. It shows all variables known within this tiddler. Using the procedure in a ''different context''. Eg: the sidebar, variables will show ''different values''.
<$macrocall $name=".example" n="1"
eg="""<<search-variables >>"""/>
eg="""<div><<search-variables >></div>"""/>
<$macrocall $name=".example" n="2"
eg="""<$let EXAMPLE="123" >
eg="""<div><$let EXAMPLE="123" >
<<search-variables subfilter:"[search::some[EXAMPLE dumpvariables]]">>
</$let>"""/>
</$let></div>"""/>
Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter
<$macrocall $name=".example" n="3"
eg="""<$let EXAMPLE="123" >
eg="""<div><$let EXAMPLE="123" >
<<search-variables subfilter:"[search::casesensitive,some[EXAMPLE dumpvariables]]">>
</$let>"""/>
</$let></div>"""/>
<$macrocall $name=".example" n="4"
eg="""<<search-variables subfilter:"[prefix[.a]]">>"""/>
eg="""<div><<search-variables subfilter:"[prefix[.a]]">></div>"""/>