@fresh-editor/fresh-editor 0.1.43 → 0.1.44

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 CHANGED
@@ -1,5 +1,33 @@
1
1
  # Release Notes
2
2
 
3
+ ## 0.1.44
4
+
5
+ ### Features
6
+
7
+ * **Double-Click Word Selection**: Double-click now selects the word under the cursor. Both clicks must be at the same position within the configurable time threshold (`double_click_time_ms`, default 500ms).
8
+
9
+ * **Multi-Byte Character Support**: Full support for CJK characters, emoji, and other double-width Unicode characters. Includes correct visual width calculation, cursor positioning, mouse click handling, line wrapping, and display across all UI components (status bar, tabs, file explorer, suggestions). (reported by @pm100)
10
+
11
+ * **Nix Flakes Support**: Added Nix flakes for reproducible builds and development. Includes crane-based Rust caching, dev shell with toolchain and dependencies, checks for clippy/tests/formatting, and direnv integration.
12
+
13
+ ### Bug Fixes
14
+
15
+ * **Mouse Escape Codes After Panic**: Fixed mouse control codes littering the terminal after a crash by disabling mouse capture in the panic handler (#311, reported by @rluvaton).
16
+
17
+ * **Hover Popup Screen Edge**: Fixed panic when LSP hover popup appears near the edge of the screen.
18
+
19
+ * **File Explorer Click Focus**: Fixed typing not working after clicking on empty area in the file explorer and then clicking back on the editor.
20
+
21
+ ### Infrastructure
22
+
23
+ * **npm Publish Workflow**: Consolidated npm publishing into a single workflow that works both standalone and when called from release.yml.
24
+
25
+ ### Credits
26
+
27
+ Thanks to @blissartt, @dvchd, @jakoss, @pm100, @rluvaton, @sottey, and @Yousa-Mirage for bug reports, suggestions, and contributions.
28
+
29
+ ---
30
+
3
31
  ## 0.1.40
4
32
 
5
33
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fresh-editor/fresh-editor",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "description": "A modern terminal-based text editor with plugin support",
5
5
  "repository": {
6
6
  "type": "git",
@@ -76,6 +76,10 @@
76
76
  "type": "integer",
77
77
  "description": "Auto-save interval in seconds for file recovery\nModified buffers are saved to recovery files at this interval.\nDefault: 2 seconds for fast recovery with minimal data loss.\nSet to 0 to disable periodic auto-save (manual recovery only)."
78
78
  },
79
+ "double_click_time_ms": {
80
+ "type": "integer",
81
+ "description": "Time window in milliseconds for detecting double-clicks.\nTwo clicks within this time are treated as a double-click (word selection).\nDefault: 500ms"
82
+ },
79
83
  "enable_inlay_hints": {
80
84
  "type": "boolean",
81
85
  "description": "Whether to enable LSP inlay hints (type hints, parameter hints, etc.)"