GNOME Bugzilla – Bug 740629
Add tab completion for the command bar
Last modified: 2014-11-24 19:30:58 UTC
This adds initial tab completion in the command bar.
Created attachment 291366 [details] [review] command-bar: Make sure any old text is cleared when showing
Created attachment 291367 [details] [review] command: Add CommandProvider::complete signal and gb_command_manager_complete This adds the initial scaffolding to get commandline completion in the command bar. It just lets you fill in possible completions given some existing text.
Created attachment 291368 [details] [review] command-gaction-provide: Implement action name completion This completes on the available registered actions. For now only names are completed on, no parameters.
Created attachment 291369 [details] [review] command-bar: Implement tab completion When you press tab we expand to the longest common prefix from, and if no common prefix exists we show the available matches in a list (multiple tabs scroll in the list).
Awesome! Thanks for doing this! Attachment 291366 [details] pushed as 0f5f1c7 - command-bar: Make sure any old text is cleared when showing Attachment 291367 [details] pushed as db6d5e6 - command: Add CommandProvider::complete signal and gb_command_manager_complete Attachment 291368 [details] pushed as bb265fc - command-gaction-provide: Implement action name completion Attachment 291369 [details] pushed as 4b79973 - command-bar: Implement tab completion