Skip to content

Conversation

@LIUBINfighter
Copy link
Owner

No description provided.

LIUBINfighter and others added 16 commits January 14, 2026 13:38
…unctionality; integrate with Preview component
- Added a detailed documentation file outlining the fix for the Bravura font loading issue in the PrintPreview component.
- Updated the font loading mechanism to ensure absolute URLs are used for fonts in new windows.
- Implemented a check for font loading status before executing the print command to avoid rendering issues.
- Enhanced the PrintPreview component to manage font styles and configurations dynamically.
- Improved pagination logic to maintain element positioning accurately during printing.
- Added cleanup logic for injected styles and font faces upon component unmounting.
…anagement

- Introduced new utility functions for creating AlphaTab configurations for both preview and print scenarios.
- Simplified error handling by implementing a dedicated error formatting utility.
- Improved pagination logic to ensure accurate rendering of content across multiple pages.
- Refactored staff display options management to streamline toggling and applying configurations.
- Updated the Preview and PrintPreview components to utilize the new configuration and error handling utilities.
…rn selected track list

- Modified the onApplyStaffOptionsReady callback to return the selected track list instead of a void function.
- Enhanced applyConfigsToAlphaTab to return the selected tracks for rendering.
- Cleaned up comments and improved code readability in PrintTracksPanel component.
… and stretchForce options for enhanced layout control
… 格式化了大多数内容,尝试性添加了一些命令行参数到package.json
- Added '@electron-forge/maker-dmg' version 7.11.1
- Updated '@electron-forge/maker-base' to version 7.11.1
- Updated '@electron-forge/shared-types' to version 7.11.1
- Updated '@electron-forge/tracer' to version 7.11.1
- Updated various dependencies including appdmg, ds-store, and others
- Added new optional dependencies and updated existing ones for compatibility
…s installation, and skip native dependency checks
…s alphaTex in editor 添加编辑器和曲谱的双向高亮支持 (#7)

* docs: 添加 alphaTab 1.8.0 迁移指南,介绍 Selection API 的新逻辑和实现方式

* feat: 实现乐谱选区与代码编辑器的双向同步功能,支持 alphaTab 1.8.0 Selection API

* feat: selection from bar to note 从小节精细到音符颗粒度的高亮

* feat: implement bidirectional selection sync between alphaTab and CodeMirror editor

- Add selection sync functionality to highlight notes/bars in the editor when selected in the score and vice versa.
- Introduce playback highlight to follow the currently playing note in real-time.
- Update app state to include playback position and related actions.
- Enhance AlphaTex parser to correctly handle various musical notations and modifiers.
- Implement safety measures for dispatching updates to avoid conflicts during rapid changes.
- Create dedicated extensions for selection and playback highlighting in the editor.
- Document the implementation details and architecture in SELECTION_SYNC_IMPLEMENTATION.md.

* fix: 修复 findBeatInScore 函数参数类型,将 score 的类型改为 null | undefined

* feat: 添加自动滚动功能,使播放高亮在编辑器中可见

* refactor: Using AST for selection api use in codemirror editor 使用 alphaTab 内置的 AST 解析器优化乐谱选区同步,增强高亮显示和文档更新处理

* feat: add at-cursor support and highlight the  bar in the editor 添加播放器光标位置支持,优化播放高亮显示
- 点击曲谱上的音符 编辑器显示黄色高亮(该小节)
- 开始播放 黄色消失,绿色高亮跟随当前播放音符
- 暂停播放 绿色高亮保留
- 暂停播放 点击曲谱上的音符 绿色消失,黄色高亮显示

* feat: add auto-scrolling to highlight position in editor 添加自动滚动功能,使高亮位置在编辑器中可见

* feat: 修复 CodeMirror 滚动可见性检测,使用 visibleRanges 优化高亮同步

* feat(highlight): 优化播放高亮滚动策略,确保高亮始终在视口舒适区域内

* chore: 移除未使用的类型别名并增强错误日志输出
@LIUBINfighter LIUBINfighter merged commit 8f5ec11 into main Jan 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants