From: Nick H. <nic...@ho...> - 2012-06-30 15:01:52
|
On 30/06/12 14:23, Benny Malengier wrote: > Warn the user is a bad design. You should just do things correctly :-) I agree, but if you start removing whitespace without warning the user this could lead to confusion. The best thing to do is simply not remove trailing whitespace. > If there is a way to know the paste adds a whitespace, that would be > best, but the paste in an entryfield of a combobox, is not something > Gramps code does, it is in the GTK layer, and intercepting it would > lead to complicated code. I don't see any whitespace added when I paste into a combo. How do you reproduce this problem? Has anyone reported this as a gtk bug? > > As said before,in this field, removing trailing whitespace is good, as > the intend of the regex in this field can never be to have trailing > whitespace. Examples given don't apply for this field. I don't actually use this tool, so from my point of view I am not concerned. My comments were more general - if I enter a space in a regex I don't expect it to be removed. Nick. |