@fresh-editor/fresh-editor 0.3.8 → 0.3.10
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/CHANGELOG.md +77 -0
- package/README.md +0 -1
- package/package.json +1 -1
- package/plugins/audit_mode.ts +35 -1
- package/plugins/config-schema.json +9 -3
- package/plugins/dashboard.ts +3 -3
- package/plugins/diagnostics_panel.ts +10 -0
- package/plugins/env-manager.i18n.json +338 -0
- package/plugins/env-manager.ts +23 -33
- package/plugins/examples/bookmarks.ts +3 -2
- package/plugins/lib/finder.ts +101 -17
- package/plugins/lib/fresh.d.ts +100 -42
- package/plugins/lib/widgets.ts +8 -0
- package/plugins/live_diff.ts +12 -1
- package/plugins/live_grep.i18n.json +349 -27
- package/plugins/live_grep.ts +660 -141
- package/plugins/markdown_compose.ts +3 -1
- package/plugins/orchestrator.ts +1493 -504
- package/plugins/schemas/theme.schema.json +15 -2
- package/plugins/search_replace.ts +70 -28
- package/plugins/theme_editor.i18n.json +28 -0
- package/plugins/vi_mode.ts +3 -3
|
@@ -1046,7 +1046,9 @@ function processLineConceals(
|
|
|
1046
1046
|
// the one-frame glitch where conceals are cleared but not yet rebuilt.
|
|
1047
1047
|
editor.debug(`[mc] processLine clear+rebuild bytes=${byteStart}..${byteEnd} content="${lineContent.slice(0,40)}"`);
|
|
1048
1048
|
editor.clearConcealsInRange(bufferId, byteStart, byteEnd);
|
|
1049
|
-
|
|
1049
|
+
// Only clear our own emphasis overlays — clearing ALL overlays in the range
|
|
1050
|
+
// would also wipe editor-owned overlays like LSP diagnostics (issue #2146).
|
|
1051
|
+
editor.clearOverlaysInRangeForNamespace(bufferId, "md-emphasis", byteStart, byteEnd);
|
|
1050
1052
|
|
|
1051
1053
|
const cursorOnLine = cursors.some(c => c >= byteStart && c <= byteEnd);
|
|
1052
1054
|
// Strict version: excludes the boundary at byteEnd so that the cursor
|