scribe-org/Scribe-iOS

Dictionary based history to autocomplete

Open

#325 创建于 2023年6月7日

在 GitHub 查看
 (14 评论) (0 反应) (0 负责人)Swift (106 fork)auto 404
help wanted

仓库指标

Star
 (167 star)
PR 合并指标
 (PR 指标待抓取)

描述

Terms

Description

Current implementation

Currently when a user chooses an autocompletion, the word in appended to the text proxy on pressing spacebar. In case the user doesn't want the autocompletion, the word they had typed appears as the first suggestion in the autosuggest array. As the user starts typing the next word and uses autocomplete again, the autosuggest will show the partial word the user typed for that particular word.

Behaviour proposed by this issue

Store the history of words as a key-value pair so that the user can revert any word back to what they had typed at any point. This can be cleared when the text proxy is cleared or user submits the corresponding text. It is open to discussion as to what extent the history should be maintained, i.e. last k-words.

Contribution

I would be happy to assist someone on this issue or do it myself post GSoC :)

贡献者指南