Docs Network

SearchFix

Makes the network editor's find bar find things: any part of a name, case-insensitive, with wildcards, optionally fuzzy and inside child networks. Keeps the bar's arrows and Home toggle; a Legacy toggle brings TouchDesigner's own search back.

⇄ Network Find bar control

Why use it

TouchDesigner's find bar only finds names that start with exactly what you typed, with the same capitals, in the network you are looking at. Type scene looking for FNS_SimpleSceneChanger and you get nothing; type simplescene and you still get nothing. In a big project you end up scrolling around for the operator, or remembering exactly how you spelled it.

SearchFix replaces that search in every pane's find bar. It finds any part of a name in any case, understands wildcards, can match loosely, and can look inside the networks below the one you are in. The bar itself works as before: same arrows, same Home toggle.

Features

  • Find any part of a nameFinds operators by any part of their name in any case; typed spaces become underscores, and a text split into parts needs every part to match.
  • Wildcard patternsPatterns like noise*, *out? and [ab]lur* match whole names as in TouchDesigner's pattern fields, and a leading ^ inverts the match.
  • Fuzzy matchingWhen switched on, also finds word initials, a typo or two, or the letters in order, listed after every plain hit.
  • Rank the best results firstExact names rank first, then names starting with the text, then word matches, then anywhere, with shallower operators before deeper ones.
  • Step through resultsThe arrows step through results, the first is picked as you type, and with Home on the pane centres on the picked operator.
  • Deep search into child networksA Deep checkbox and depth field in each pane's bar search the networks inside the current one; picking a hit takes the pane into its network.
  • Restore TouchDesigner's own searchA Legacy checkbox in the find bar brings back TouchDesigner's own search for every pane, and switching SearchFix off restores every bar as it was.
  • Close the bar from inside itThe find bar shortcut also closes the bar while you are typing in it.

How to use it

  1. Open a pane's find bar as usual, with Ctrl+F (Cmd+F on macOS).
  2. Type any part of the name you are after. The first result is picked as you type: it becomes the current and selected operator, and with Home on the pane centres on it.
  3. Use the back and forward arrows to step through the other results.

Beside Home sit three checkboxes, drawn like Home's own:

  • To find operators in child networks, tick Deep. A number field appears beside it and sets how deep the search goes: 1 is the network you are in, 2 adds the networks inside it, and so on. Picking a hit inside a child network takes the pane into that network, and the arrows keep stepping through the same results. Deep belongs to that pane's bar: each pane keeps its own Deep and depth for the session, and the field starts at the tool's Deep Depth.
  • To find something you only half remember, tick Fuzzy. It also matches the first letters of words, a typo or two, or the letters in order.
  • To get TouchDesigner's own search back, tick Legacy.

Fuzzy and Legacy are the tool's parameters, so every pane's find bar shares them.

A few more things you can do:

  • Close the bar without reaching for the mouse. TouchDesigner opens and closes a pane's find bar on Ctrl+F while you work in the network, but once you are typing in the bar the shortcut does nothing. With Shortcut Closes Find Bar on, it closes the bar from there too.
  • Switch it all off. With Active off, every find bar is exactly as TouchDesigner made it.
  • From quick-launch, Toggle SearchFix, Toggle fuzzy find and Toggle legacy find switch the same settings and show whether each is on. If a find bar stops searching the SearchFix way, for example after TouchDesigner rebuilt it, Repatch find bars applies the search to every bar again.

What a search matches

  • Any part of a name, any case. SimpleScene finds FNS_SimpleSceneChanger; scene finds it too.
  • Spaces become underscores as you type, since operator names have none. A text that does not match as typed is tried as its parts: scene_chang finds FNS_SimpleSceneChanger, and every part has to hit.
  • Wildcards work like TouchDesigner's own pattern fields (a Select OP's, for example), in any case: noise*, *out?, [ab]lur*. A pattern has to match the whole name, and ^ turns it around: ^FNS_* finds everything that does not start with FNS_.
  • Fuzzy, when you switch it on, also finds the first letters of words (sschg), a typo or two (nosie), or the letters in order. Those hits come after every plain one.
  • Best first. An exact name comes before one that starts with your text, then a word inside the name, then anywhere in it, and shallower operators before deeper ones.

Get it

Tick it on the install page and it installs with the rest of your setup and stays up to date.

Download FNS_SearchFix.tox Version 0.2.8, the tool on its own. It works in any project, and this copy never updates itself.

Where it appears

Shortcuts

  • Ctrl+F

Parameters

Its Registry page comes from FNS_ConfigRegistry.

SearchFix

ControlType / defaultWhat it does
ActiveActive on / offon Patch every network editor find bar with the Python search. Off: every find bar is exactly as TouchDesigner made it.
Legacy SearchLegacy on / offoff TouchDesigner's own search: names that start with the text, case-sensitive, in the current network only. Also a toggle in each find bar.
FuzzyFuzzy on / offoff Also match loosely: the first letters of words (sschg), one or two typos (nosie), or the letters in order. Ranked below every exact, prefix, word and substring hit. Also a toggle in each find bar.
Deep DepthDepth number3 Where a find bar's depth field starts when its Deep toggle is first switched on. Counted like findChildren's limit: 1 is the current network only, 2 adds the networks inside it, and so on. Each pane's bar keeps its own.
Max ResultsMaxresults number500 The most results kept per search, best first. The search runs on every keystroke, so this bounds its cost on large networks.
Shortcut Closes Find BarTogglefindbar on / offon TouchDesigner's find bar shortcut does nothing while you type in the bar. On: the shortcut closes the bar from there too, with the bar's own close button. Off: TouchDesigner's behaviour.
Find Bar ShortcutFindbarshortcut textempty TouchDesigner's own find bar shortcut, which this listens for to close an open bar. It cannot move TouchDesigner's shortcut, so change it only if TouchDesigner's has changed.
Repatch Find BarsRepatch button Apply the patch to every find bar again, for example after TouchDesigner rebuilt its UI.