question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search addon: Support "find as you type"

See original GitHub issue

It would be nice to have a browser-style “find-as-you-type” logic. I think it would work if a couple functions were added:

  • findCurrentOrNext(needle)
  • findCurrentOrPrevious(needle)

These would expand the current selection if the needle is present at the 0-index of the current selection; otherwise they’d do a normal findNext or findPrevious.

Plan issue: #705

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyriarcommented, Sep 21, 2018

This may just be a matter of starting the search at the current cursor position, rather than the next line (or at the end of the search term). In that case maybe this makes more sense as an option?

https://github.com/xtermjs/xterm.js/blob/005785b84df3b6e88059bee4da43f7a16db54180/src/addons/search/Interfaces.ts#L24-L28

0reactions
peacefullatomcommented, Sep 21, 2018

Yes, it makes sense. In case if user hits enter we perform regular search, in case if new symbol is readable we are updating the search term and reruning a whole routine. Now the goals are clear, thank you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Type-ahead-find
Overview. Find text or links as you type. Type-ahead-find [1] is an accessibility feature to search links and text faster on a webpage....
Read more >
Keyboard Feature: Find As You Type - Mozilla
Type / before your string to search all text. You can use the text search field to get to buttons, text boxes and...
Read more >
6 Chrome Extensions to Search for Multiple Words on a ...
Multi Search and Multi Jump is a Chrome browser extension. It lets you enter multiple words and will find all of them on...
Read more >
9 Browser Extensions to Help You Search the Web Better
These add-ons strip out the junk to help you find what you're ... bar in Chrome or Edge—just type "wiki" followed by your...
Read more >
brandon1024/find: A find-in-page extension for Chrome and ...
{find+} is a powerful find-in-page extension for Chrome and Firefox that allows you to search for content in a web page or document...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found