Skip to content

Moraya v0.45.13

Choose a tag to compare

@github-actions github-actions released this 12 Aug 03:20
· 5 commits to main since this release

What's Changed

chore(release): v0.45.13 — split scroll sync & search highlight fixes

  • fix(editor): 分屏模式下视觉面板不再逐渐超前源码面板 — 滚动同步改用源码窗格 ghost mirror 测得的真实逐行高度累加(line-metrics.tscumulativeLineOffsets/lineOffsetAt),替换掉「行号 × 固定行高」的估算;旧算法把每个逻辑行当成一行显示,软换行的长段落会被严重低估,分屏窗格越窄(对半分屏时几乎每段都会换行)偏差越大,滚得越深两栏错位越明显 (#87)
  • fix(search): 编辑文档时高亮不再停留在旧字符位置 — 搜索高亮装饰集合和匹配位置改为持有可变引用,在每次 dispatchTransactiondocChanged 时通过 tr.mapping 重新映射(remapSearchState),而不是把一次性计算的绝对位置直接扔给 setProps;同时修复了 Find-Next 因位置未更新而跳转到过期偏移量的问题 (#86)
  • test(editor): 为 line-metrics.ts 新增单元测试,覆盖空文档、软换行行、越界/负数行号 clamp、ghost 未测量时的 fallback 等场景
  • deps: renderer plugin 清单中 cytoscape 由 3.34.0 升级到 3.34.1
  • chore(release): 同步升版号至 0.45.13(package.json / src-tauri/Cargo.toml / tauri.conf.json

See the assets below to download and install.

macOS

Homebrew (recommended):

brew tap zouwei/moraya
brew install --cask moraya

Manual: Download the .dmg file below, drag Moraya to Applications, and double-click to launch.
The app is signed with an Apple Developer ID and notarized by Apple — no Gatekeeper workaround needed.

Linux

  • .debsudo dpkg -i moraya_*.deb
  • .AppImagechmod +x Moraya_*.AppImage && ./Moraya_*.AppImage

Windows

Run the .msi installer.