-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added optional case sensitive searching #1663
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks great, I think it just needs the conflicts fixed
src/addons/search/SearchHelper.ts
Outdated
const lowerTerm = term.toLowerCase(); | ||
let searchIndex = lowerStringLine.indexOf(lowerTerm); | ||
private _findInLine(term: string, y: number, caseSensitive: boolean): ISearchResult { | ||
const stringLIne = this._terminal._core.buffer.translateBufferLineToString(y, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I -> i
2a6aa25
to
16de86f
Compare
Conflicts resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just that extra test
Fixes #1657