今早一点半的时候,v0.13.11 开始测试了。
新功能
- 新增“编辑状态”核心插件。这个插件会在状态栏里显示当前面板所用的模式(所见所得编辑、源码编辑还是阅读模式),并允许我们在状态栏里点击切换模式。
所见所得模式的提升
- 指向未创建文件的内部链接现在看起来要比一般链接更暗淡一些,方便区别。
- 修复了黑暗模式下光标不可见的问题,以及滚动文档时光标位置不正确的问题。
- 修复 MacOS 上 IME 造成的字符重复问题。
- 修复了 Vim 模式下
g
会导致 Vim 模式崩溃的问题。 - 现在中键点击链接会在新面板中打开该链接。
- 移除了外部链接上非常微弱的背景色。
- 修复了缩进状态下按下
Enter
无法保持缩进的问题。 - 修复了因引擎升级而导致的长表格崩溃问题。
- 修复了表格中最后的
|
后跟有奇怪空格的问题。
提升
-
字数统计
功能不再是文件一有修改就实时统计,而是每秒最多统计两次, 以节省一些计算资源。
开发者相关
- The
changed
event on MetadataCache now contains the file contents as well as the parsed metadata object. - There is now two helper functions for
HTMLElement
:isShown()
which tells you whether this element is shown, andonNodeInserted
which can add a callback for when the element is shown. These statuses depend on the element to be attached to the DOM and require not having any parent or ancestor with the cssdisplay: none
.