IT资讯 微软在 Chromium 中引入 Windows 拼写检查功能

norris · 2019-07-08 20:00:06 · 热度: 14

微软对基于 Chromium 的浏览器添加了新功能。在搜索框和滚动条等多项改进之后,微软现在将 Windows Spellchecker(拼写检查器)引入到 Chromium 项目中。

微软在 Chromium 中引入 Windows 拼写检查功能

Chrome 的内置拼写检查器目前由 Hunspell 拼写器驱动,它同样也用于 LibreOffice 和 OpenOffice 等应用程序。在最新的更改中,微软向 Chrome 中添加Windows Spellchecker,让它与 Hunspell speller 共存。

微软正在进行各种更改,让 Windows Spellchecker 在 Chrome 中的集成,包括实现拼写检查平台接口。

微软在 Commit 提到,“我们需要实现与平台无关的接口,以便将 Windows Spellchecker 集成到 Chrome 中,我们还需要重构一些代码,以便在 Windows 拼写检查器和 Hunspell speller 之间进行切换“。

在这些步骤之后,微软使用了 Windows 拼写检查服务整合,以实现在 windows 平台上两种拼写检查的切换。

在 Chrome 中使用 Windows Spellchecker

微软在 Chromium 中引入 Windows 拼写检查功能

在 Google Chrome Canary 版本中,Windows Spellchecker 的标志已经添加了。可以看到标志描述,“使用 Windows OS 拼写检查器,而不是使用 Hunspell 引擎,来查找拼写错误并提出建议”。

虽然只是一个小小的改动,但它可以改善 Windows 平台使用 Chrome 的输入体验。不过目前,Windows 拼写检查功能在 Edge Canary 或 Dev 版本中还不可用。

消息来源:Windows Latest

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册