Skip to content

Commit 47876e4

Browse files
committed
Add Auto-Checking Minimum Size preference
- add new preference and description - add Note for Find-Fill to explain that it's 1024-character limit is separate from the new setting closes #581
1 parent 7e15282 commit 47876e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/docs/preferences.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,13 @@ Affects how the text is formatted when sent to the printer.
292292
Affects the operations found in the **Find** dialog tabs.
293293

294294
* **When Find Dialog is Invoked**
295+
* `Minimum Size for Auto-Checking 'In selection': _____`: Integer value used for deciding whether to automatically checkmark **☐ In Selection**. (new to v8.5.8)
296+
- When a search function is initiated while a stream selection is active in the editor, the **☐ In Selection** option will become automatically checkmarked if this setting is not `0` and the number of characters in the selection is above the specified value. Additionally, if this setting is non-zero, the **☐ In selection** option will be automatically cleared when a search is initiated with no stream selection active in the editor. When the setting is `0`, the user will entirely control the state of the **☐ In selection** checkbox (that is, the program won't change the check state at all).
297+
- The default value is `1024` characters.
298+
- Allowed values: `0` characters is the smallest integer value allowed. `1024` is the largest integer value allowed. If you enter an integer value greater than `1024` then the field value will change to `1024` immediately. If you attempt to enter a non-digit character (like a decimal point or a letter), the field will pop up an error message indicating that only digits are allowed to be entered.
295299
* `☐ Fill Find Field with Selected Text`: When checkmarked, invoking the Find Dialog will fill the **Find What** field with the currently-selected text; when not checkmarked, invoking the Find Dialog will not change the contents of the **Find What** field (reworded in v8.4.5; previously was `Don't fill find field...`)
296300
* `☐ Select Word Under Caret when Nothing Selected`: When checkmarked, invoking the Find Dialog with no active selection will fill the **Find What** field with the text under the caret; when not checkmarked, invoking the Find Dialog with no active selection will not change the contents of the **Find What** field; if the option above is not checkmarked, this option will be un-checkmarked and cannot be toggled. (new to v8.4.5)
301+
* _Note_: The fill will only occur if the size of the active selection is 1024 characters or less. This is a fixed value and is unrelated to the `Minimum Size for Auto-Checking 'In selection'` value.
297302
* `☐ Use Monospaced font in Find dialog (Need to restart Notepad++)`: Changes the font from standard proportional font to a monospaced font in the text boxes in the **Find** dialog; requires restarting Notepad++ to change.
298303
* `☐ Find dialog remains open after search that outputs to results window`: Successful file-level searches cause the **Find** window to close; selecting this option keeps the window open always.
299304
* `☐ Confirm Replace All in All Opened Documents`: When checked, **Replace All in All Opened Documents** will ask for confirmation.

0 commit comments

Comments
 (0)