abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Suggestions.java
AgeCommit message (Collapse)AuthorFilesLines
2026-02-01Candidates view improvements (#1168)Jules Aguillon1-36/+0
* Refactor: Create subpackage 'suggestions' * Candidates view: Status message when no dictionary installed Show a message on the candidates view instead of leaving it empty. A button points to the dictionary installation activity. * Add an option to disable the suggestions * Refactor: Remove Config.should_show_candidates_view This was moved to EditorConfig. * Don't disable text suggestions in some text boxes * Suggestion text size matching settings The candidates view height is based on the height of keyboard rows and the suggestion text size is based on the size of labels on the keys. This is influenced by symbol size and keyboard height options.
2025-12-28Enter the suggestion when it's pressedJules Aguillon1-2/+11
The current word is replaced by the pressed suggestion.
2025-12-28Track the currently typed wordJules Aguillon1-0/+27
The `CurrentlyTypedWord` class tracks the word that is being typed. It's implemented on the same model as Autocapitalisation and avoid expensive IPC calls when possible. The `Suggestions` class is where the suggestion lookup should go. It currently just echoes the current word.