Uzbl

Tasklist

FS#11 - Incremental calling of ?_ = Functions.

Attached to Project: Uzbl
Opened by Jan Kolkmeier (jouz) - 2009-05-11 05:15:38 PM
Last edited by Michael Walker (Barrucadu) - 2009-05-17 11:10:51 AM
Task Type Feature Request
Category uzbl-core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Allow functions defined in the config to be called incremental. Every time %s changes, execute the function with the new %s. Use-Cases:

- Linkfollowing: so we can highlight the links that match while typing and request the link if only one matches. This would merge the two currently needed functions for linkfollowing and supersede the additional "return"-keypress.
- Document-Search: Jump to matching text while typing and supersede the "return"-keypress in some cases
- ... Future Js-Plugins?!

Example:
*/_ = script function doInc(searchstring) { /* implementation */ } doInc('%s');
Typing "/" would execute with the empty string '',
proceeding with "/u" would execute it with 'u',
proceeding with "/uz" would execute it with 'uz' etc.

This would allow editing on the fly (usable while searching!) without retyping and hitting "return" again.
"return" and/or "ESC" would stop executing.
This task depends upon

Closed by  Michael Walker (Barrucadu)
2009-05-17 11:10:51 AM
Reason for closing:  Implemented
Comment by Michael Walker (Barrucadu) - 2009-05-17 11:10:37 AM
This has now been implemented:

bind /* = search %s

would search the page for %s, updating when %s is updated.

Loading...