| 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-R | Show/Hide ruler |
| Command-I | Show/Hide invisible characters |
| Command-F | Show find panel |
| Command-Shift-F | Show find panel go to replace field |
| Command-G | Continue find |
| Command-Shift-G | Find previous match |
| Command-[ | Shift text selection to left |
| Command-] | Shift text selection to right |
| Command-Option-C | Copy text with styles. |
This setting can be set via the preferences dialog, too.
Examples
Turn on find bars in a script:
Set Variable [$r; Value: MBS( "SyntaxColoring.SetAddFindbars"; 1 )]
See also
Release notes
- Version 8.0
- Added SyntaxColoring.GetAddFindbars and SyntaxColoring.SetAddFindbars function.
Blog Entries
This function is free to use.
Created 21st December 2017, last changed 6th December 2023
SyntaxColoring.ScriptSearchBox.SetText - SyntaxColoring.SetCodeFoldingEnabled