@fresh-editor/fresh-editor 0.1.56 → 0.1.58
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 +32 -4
- package/package.json +1 -1
- package/plugins/live_grep.ts +1 -1
- package/plugins/merge_conflict.ts +3 -3
- package/plugins/theme_editor.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
+
## 0.1.57
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **External Paste with Prompts**: Fixed paste via terminal (Ctrl+Shift+V / bracketed paste) going to editor instead of open prompt (#406).
|
|
8
|
+
|
|
9
|
+
* **Block Selection Escape**: Fixed Escape key not canceling block selection mode (#405).
|
|
10
|
+
|
|
11
|
+
* **CRLF Line Endings**: Fixed CRLF handling to preserve original line endings. Enter inserts correct line ending, End key positions before \r\n, backspace/delete treat \r\n as single unit (#401).
|
|
12
|
+
|
|
13
|
+
* **RPM Package**: Fixed /usr/bin/fresh entry missing from RPM package manifest.
|
|
14
|
+
|
|
15
|
+
* **Settings Percentage Values**: Fixed percentage settings saving as integers instead of floats.
|
|
16
|
+
|
|
17
|
+
* **Windows Unicode**: Fixed unicode character not supported on Windows (#400).
|
|
18
|
+
|
|
19
|
+
### Packaging
|
|
20
|
+
|
|
21
|
+
* **AUR Source Package**: Fixed sha256sum not being updated when publishing.
|
|
22
|
+
|
|
23
|
+
* **Nix Flake**: Fixed missing sublime-syntax grammar files in source filter.
|
|
24
|
+
|
|
25
|
+
* **Flatpak/AppImage**: Strip binaries before bundling for smaller package sizes.
|
|
26
|
+
|
|
27
|
+
### Internal
|
|
28
|
+
|
|
29
|
+
* **Test Reliability**: Fixed flaky e2e tests on macOS by removing timing sensitivity.
|
|
30
|
+
|
|
31
|
+
* **Release Workflow**: Added package upgrade tests and nix build test.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
3
35
|
## 0.1.56
|
|
4
36
|
|
|
5
37
|
### Features
|
|
@@ -59,10 +91,6 @@
|
|
|
59
91
|
|
|
60
92
|
* **rust-analyzer Defaults**: Added minimal performance defaults for rust-analyzer LSP.
|
|
61
93
|
|
|
62
|
-
### Packaging
|
|
63
|
-
|
|
64
|
-
* **Ubuntu 20.04**: Added CI coverage for Ubuntu 20.04 (#374).
|
|
65
|
-
|
|
66
94
|
### Internal
|
|
67
95
|
|
|
68
96
|
* **Input Handling Refactor**: New hierarchical `InputHandler` trait system for cleaner modal input routing.
|
package/package.json
CHANGED
package/plugins/live_grep.ts
CHANGED
|
@@ -108,7 +108,7 @@ async function updatePreview(match: GrepMatch): Promise<void> {
|
|
|
108
108
|
const lineNum = i + 1;
|
|
109
109
|
const lineContent = lines[i] || "";
|
|
110
110
|
const isMatchLine = lineNum === match.line;
|
|
111
|
-
const prefix = isMatchLine ? "
|
|
111
|
+
const prefix = isMatchLine ? "> " : " ";
|
|
112
112
|
const lineNumStr = String(lineNum).padStart(4, " ");
|
|
113
113
|
|
|
114
114
|
entries.push({
|
|
@@ -630,7 +630,7 @@ function buildOursEntries(): TextPropertyEntry[] {
|
|
|
630
630
|
// Show each conflict's OURS side
|
|
631
631
|
for (const conflict of mergeState.conflicts) {
|
|
632
632
|
const isSelected = conflict.index === mergeState.selectedIndex;
|
|
633
|
-
const marker = isSelected ? "
|
|
633
|
+
const marker = isSelected ? "> " : " ";
|
|
634
634
|
const status = conflict.resolved ? "[RESOLVED]" : "[PENDING]";
|
|
635
635
|
|
|
636
636
|
entries.push({
|
|
@@ -688,7 +688,7 @@ function buildTheirsEntries(): TextPropertyEntry[] {
|
|
|
688
688
|
// Show each conflict's THEIRS side
|
|
689
689
|
for (const conflict of mergeState.conflicts) {
|
|
690
690
|
const isSelected = conflict.index === mergeState.selectedIndex;
|
|
691
|
-
const marker = isSelected ? "
|
|
691
|
+
const marker = isSelected ? "> " : " ";
|
|
692
692
|
const status = conflict.resolved ? "[RESOLVED]" : "[PENDING]";
|
|
693
693
|
|
|
694
694
|
entries.push({
|
|
@@ -762,7 +762,7 @@ function buildResultEntries(): TextPropertyEntry[] {
|
|
|
762
762
|
// Show resolved content or action buttons for each conflict
|
|
763
763
|
for (const conflict of mergeState.conflicts) {
|
|
764
764
|
const isSelected = conflict.index === mergeState.selectedIndex;
|
|
765
|
-
const marker = isSelected ? "
|
|
765
|
+
const marker = isSelected ? "> " : " ";
|
|
766
766
|
|
|
767
767
|
entries.push({
|
|
768
768
|
text: `${marker}Conflict ${conflict.index + 1}:\n`,
|
package/plugins/theme_editor.ts
CHANGED
|
@@ -574,7 +574,7 @@ function buildDisplayEntries(): TextPropertyEntry[] {
|
|
|
574
574
|
|
|
575
575
|
if (field.isSection) {
|
|
576
576
|
// Section header
|
|
577
|
-
const icon = field.expanded ? "▼" : "
|
|
577
|
+
const icon = field.expanded ? "▼" : ">";
|
|
578
578
|
entries.push({
|
|
579
579
|
text: `${indent}${icon} ${field.def.displayName}\n`,
|
|
580
580
|
properties: {
|