MCPcopy
hub / github.com/philc/vimium / getQueryFromRegexMatches

Method getQueryFromRegexMatches

content_scripts/mode_find.js:239–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237 }
238
239 static getQueryFromRegexMatches() {
240 // find()ing an empty query always returns false
241 if (!this.query.regexMatches?.length) {
242 return "";
243 }
244 let [row, col] = this.query.activeRegexIndices;
245 return this.query.regexMatches[row][col];
246 }
247
248 static getNextQueryFromRegexMatches(backwards) {
249 // find()ing an empty query always returns false

Callers 1

findInPlaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected