Module: environment-deuce Synopsis: Searching Editor Gadget Author: Chris Page Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND /// Searching editor gadgets; the gadget is an editor window define method can-find-in-sheet? (window :: ) => (can-find? :: ) can-find-in-window?(window) end method can-find-in-sheet?; define method can-replace-in-sheet? (window :: ) => (can-replace? :: ) can-replace-in-window?(window) end method can-replace-in-sheet?; define method find-in-sheet (window :: , search-string :: , #rest keys, #key from-selection? :: , backwards? :: , wrap? :: , match-case? :: , match-word? :: , match-regexp? :: , progress-callback :: false-or()) => (object :: ) apply(find-in-window, window, search-string, keys) end method find-in-sheet; define method replace-in-sheet (window :: , search-string :: , replace-string :: , #rest keys, #key match-case? :: , match-word? :: , match-regexp? :: , progress-callback :: false-or()) => (object :: ) apply(replace-in-window, window, search-string, replace-string, keys) end method replace-in-sheet; define method sheet-reveal-search-object (window :: , object :: ) => (revealed? :: ) window-reveal-search-object(window, object) end method sheet-reveal-search-object;