mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 11:34:27 +00:00
Edit > Find and Replace... opens a dialog of its own with Find and Replace With fields, Match Case, Find Whole Word, Search Backwards, Check Hidden Layers and Check Locked Layers, and Find, Replace, Replace & Find, Replace All and Done. Find shows the match in its line of text with its place among the matches and selects its type object. edit.findNext returns the match (id, start, end, index, count, selected) and takes backwards, hiddenLayers, lockedLayers and from. The new edit.replaceMatch replaces one match as one undo step. edit.findReplace takes the two layer switches and reports how many matches it replaced. Ruby after a replaced match moves with the text. Edit > Find Next goes on from the dialog's last search in the same document, and is no longer offered as an action step.