comp->active--;
/* Step back over the beginning. */
if (comp->active == -1) {
- /* Unselect the current item to show the user that the shown
- * content is the initial typed content. */
+ /* Deselect the current item to show the user the initial typed
+ * content. */
gtk_tree_selection_unselect_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(comp->tree)));
return FALSE;
/**
* Manage the generation and stepping through completions.
* This function prepared some prefix and suffix string that are required to
- * put hte matched data back to inputbox, and prepares the tree list store
+ * put the matched data back to inputbox, and prepares the tree list store
* model containing matched values.
*/
static gboolean complete(Client *c, short direction)
* if the command name parsing fails. */
before_cmdname = in;
- /* Do ex command specific completion if the comman is recognized and
+ /* Do ex command specific completion if the command is recognized and
* there is a space after the command and the optional '!' bang. */
if (parse_command_name(c, &in, arg) && parse_bang(&in, arg) && VB_IS_SPACE(*in)) {
const char *token;