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
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
|
DetailsAllow 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
bind /* = search %s
would search the page for %s, updating when %s is updated.