scribe-org/Scribe-iOS

Dictionary based history to autocomplete

Open

#325 opened on 2023年6月7日

GitHub で見る
 (14 comments) (0 reactions) (0 assignees)Swift (106 forks)auto 404
help wanted

Repository metrics

Stars
 (167 stars)
PR merge metrics
 (PR metrics pending)

説明

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 :)

コントリビューターガイド