core icon indicating copy to clipboard operation
core copied to clipboard

WIP: feat: optimize inline diff viewer

Open bytemain opened this issue 7 months ago • 8 comments

Types

  • [x] 🎉 New Features

Background or solution

优化了 inline diff previewer 的调用方法

Changelog

optimize inline diff viewer

Summary by CodeRabbit

  • 新功能

    • 引入了新的 onPartialEditEvent 事件,用于处理部分编辑的实时预览。
  • 改进

    • 重命名了 EInlineDifPreviewMode 枚举为 EInlineDiffPreviewMode,以提高代码可读性和一致性。
  • 修复

    • 修改了各种方法和条件检查以适应新的枚举名称。
    • 更新了事件发射器的初始化方式,改为使用 this.registerDispose 方法。

bytemain avatar Jul 05 '24 03:07 bytemain