Commit 69665bb8 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Only autocomplete text that begins with an alphabetic


2000-06-08  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-edit.c (entry_changed) : Only autocomplete text that
	  begins with an alphabetic
parent 75f7d8d0
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (sheet_view_{col,row}_selection_changed) :
......
......@@ -148,9 +148,10 @@ entry_changed (GtkEntry *entry, void *data)
wb->priv->auto_max_size = text_len;
/*
* Turn off auto-completion if the user has edited
* Turn off auto-completion if the user has edited or the text
* does not begin with an alphabetic character.
*/
if (text_len < wb->priv->auto_max_size)
if (text_len < wb->priv->auto_max_size || !isalpha(*text))
wb->priv->auto_completing = FALSE;
if (application_use_auto_complete_get () && wb->priv->auto_completing)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment