dsh-vscode-mode 0.1.11 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +2 -2
- package/lib/client.js.map +1 -1
- package/lib/index.js +607 -88
- package/lib/index.js.map +1 -1
- package/package.json +4 -1
- package/src/client/monaco/diffRender.ts +1 -1
- package/src/client/state/regions.ts +1 -1
- package/src/index.ts +4 -1
- package/src/rpc.ts +10 -24
- package/src/search/fallback.ts +76 -0
- package/src/search/orchestrator.ts +276 -0
- package/src/search/query.ts +62 -0
- package/src/search/ranker.ts +48 -0
- package/src/search/ripgrep.ts +144 -0
- package/src/search/types.ts +47 -0
package/lib/client.js
CHANGED
|
@@ -304,7 +304,7 @@ window.__ModuleLoader__.load({
|
|
|
304
304
|
const decos = [];
|
|
305
305
|
for (const r of pendingRegions) {
|
|
306
306
|
if (r.start === void 0 || r.end === void 0) continue;
|
|
307
|
-
if (
|
|
307
|
+
if (r.newLines && r.newLines.length) decos.push({
|
|
308
308
|
range: new monaco.Range(r.start, 1, Math.max(r.start, r.end - 1), 1),
|
|
309
309
|
options: {
|
|
310
310
|
isWholeLine: true,
|
|
@@ -677,7 +677,7 @@ window.__ModuleLoader__.load({
|
|
|
677
677
|
callId: rec.callId,
|
|
678
678
|
idx: i,
|
|
679
679
|
start: 1,
|
|
680
|
-
end:
|
|
680
|
+
end: lines.length + 1,
|
|
681
681
|
oldLines: [],
|
|
682
682
|
newLines: lines.slice(),
|
|
683
683
|
whole: true,
|