xterm-addon-search
Advanced tools
Comparing version 0.13.0-beta.4 to 0.13.0-beta.5
{ | ||
"name": "xterm-addon-search", | ||
"version": "0.13.0-beta.4", | ||
"version": "0.13.0-beta.5", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -443,3 +443,4 @@ /** | ||
/** | ||
* A found substring is a whole word if it doesn't have an alphanumeric character directly adjacent to it. | ||
* A found substring is a whole word if it doesn't have an alphanumeric character directly | ||
* adjacent to it. | ||
* @param searchIndex starting indext of the potential whole word substring | ||
@@ -455,10 +456,11 @@ * @param line entire string in which the potential whole word was found | ||
/** | ||
* Searches a line for a search term. Takes the provided terminal line and searches the text line, which may contain | ||
* subsequent terminal lines if the text is wrapped. If the provided line number is part of a wrapped text line that | ||
* started on an earlier line then it is skipped since it will be properly searched when the terminal line that the | ||
* text starts on is searched. | ||
* Searches a line for a search term. Takes the provided terminal line and searches the text line, | ||
* which may contain subsequent terminal lines if the text is wrapped. If the provided line number | ||
* is part of a wrapped text line that started on an earlier line then it is skipped since it will | ||
* be properly searched when the terminal line that the text starts on is searched. | ||
* @param term The search term. | ||
* @param searchPosition The position to start the search. | ||
* @param searchOptions Search options. | ||
* @param isReverseSearch Whether the search should start from the right side of the terminal and search to the left. | ||
* @param isReverseSearch Whether the search should start from the right side of the terminal and | ||
* search to the left. | ||
* @returns The search result if it was found. | ||
@@ -531,3 +533,4 @@ */ | ||
// Adjust the row number and search index if needed since a "line" of text can span multiple rows | ||
// Adjust the row number and search index if needed since a "line" of text can span multiple | ||
// rows | ||
let startRowOffset = 0; | ||
@@ -534,0 +537,0 @@ while (startRowOffset < offsets.length - 1 && resultIndex >= offsets[startRowOffset + 1]) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93184
842