[ENH] ParagraphEditor-iSearch-rkris

rkris at kriyative.net rkris at kriyative.net
Sat Aug 14 20:33:07 UTC 2004


"Change Set:		ParagraphEditor-iSearch-rkris
Date:			14 August 2004
Author:			Ram Krishnan

Adds incremental search (similar to emacs but forward search only) to
ParagraphEditor. This changeset remaps the Ctl-S key, which used to
invoke the #search: selector, to the #incrementalSearch: selector. While
in the incrementalSearch mode, Ctl-W can be used to extend the search
term and Backspace to shorten it. This changeset has only been tested
with Squeak3.7. It will fail in Squeak3.6 as there seem to be some
conflicting changes in ParagraphEditor between the two revisions.

This changeset improves the behavior to be more compatible with the
Emacs incremental-search functionality, such as:

	* The current `point' is saved when entering incremental search and
restored when exiting via Ctl-G
	
	* A mismatch leaves the point and mark at the last matched region of
text"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParagraphEditor-iSearch-rkris.cs.gz
Type: application/octet-stream
Size: 5152 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040814/eb3b0eff/ParagraphEditor-iSearch-rkris.cs.obj


More information about the Squeak-dev mailing list