title: $:/core/ui/SideBarSegments/search tags: $:/tags/SideBarSegment \whitespace trim \define count-popup-button() \whitespace trim <$button popup=<> class="tc-btn-invisible"> {{$:/core/images/down-arrow}} <$list filter="[{$(searchTiddler)$}minlength{$:/config/Search/MinLength}limit[1]]" variable="listItem"> <$set name="searchTerm" value={{{ [get[text]] }}}> <$set name="resultCount" value="""<$count filter="[!is[system]search]"/>"""> {{$:/language/Search/Matches}} \end \define search-results-list() \whitespace trim <$list filter="[{$(searchTiddler)$}minlength{$:/config/Search/MinLength}limit[1]]" emptyMessage="""
{{$:/language/Search/Search/TooShort}}
""" variable="listItem"> {{$:/core/ui/SearchResults}} \end \define delete-state-tiddlers() <$action-deletetiddler $filter="[[$:/temp/search]] [] []"/> \define cancel-search-actions() <$action-deletetiddler $filter="[<__storeTitle__>] [<__tiddler__>] [<__selectionStateTitle__>]"/> \define input-accept-actions() <$action-navigate $to={{{ [<__tiddler__>get[text]] }}}/> \define input-accept-variant-actions() <$action-sendmessage $message="tm-edit-tiddler" $param={{{ [<__tiddler__>get[text]] }}}/>