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

SyntaxColoring.SetAddFindbars

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

Parameters

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

Result

Returns OK or error.

Description

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-Option-RShow/Hide ruler
Command-Option-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.

With version 16.1 the custom script search will find things inside the custom functions.

Examples

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 3th March 2026


SyntaxColoring.ScriptSearchButton.SetEnabled - SyntaxColoring.SetCodeFoldingEnabled


MarkDown version: SyntaxColoringSetAddFindbars.md