Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets whether the plugin adds find bars.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 8.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.SetAddFindbars"; Value )   More


Parameter Description Example
Value The new setting. Can be 1 or 0. 1


Returns OK or error.


Sets whether the plugin adds find bars.
The plugin watches Command-F and if you are focussed on a scrollable text view, we can show the find bar from macOS. That’s a standard feature of macOS and we just enable it.

It can be that FileMaker does not draw everything perfectly as we add a control to the view hierarchy. Also the find bar is probably not designed to be running in a modal dialog. Still it is helpful.

Keyboard Combinations:

Command-RShow/Hide ruler
Command-IShow/Hide invisible characters
Command-FShow find panel
Command-Shift-FShow find panel go to replace field
Command-GContinue find
Command-Shift-GFind previous match
Command-[Shift text selection to left
Command-]Shift text selection to right
Command-Option-CCopy text with styles.

This setting can be set via the preferences dialog, too.


Turn on find bars in a script:

Set Variable [$r; Value: MBS( "SyntaxColoring.SetAddFindbars"; 1 )]

See also

Release notes

Blog Entries

This function is free to use.

Created 21st December 2017, last changed 6th December 2023

SyntaxColoring.ScriptSearchBox.SetText - SyntaxColoring.SetCodeFoldingEnabled