diff options
author | Thomas Meire <blackskad@gmail.com> | 2010-01-06 19:03:23 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-06 19:03:23 +0800 |
commit | 35c99e3a75272c03b71e04c3e1bf1944167295ee (patch) | |
tree | cc0b93673be69f31da08c5649bc973e3277f8d9b /libempathy-gtk/empathy-geometry.c | |
parent | 7b2c1fab3ca841fcf54cfb10d21eb0cc3fbbc7a3 (diff) | |
download | gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar.gz gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar.bz2 gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar.lz gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar.xz gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.tar.zst gsoc2013-empathy-35c99e3a75272c03b71e04c3e1bf1944167295ee.zip |
Fix autocompletion for non-alphanumeric nicknames
This bug is caused by the behaviour of gtk_text_iter_backward_word_start. It
searches the text for delimiters, based on languages in pango. Numbers and
characters as | and [ are not considered to be part of a word in most
languages, while they are a part of nicknames. Therefore, empathy fails to get
the typed part of the nickname.
The attached patch will instead search backwards for a space character. The
text that needs to be completed, is the text between the caret and the first
space before that. (#554767)
Diffstat (limited to 'libempathy-gtk/empathy-geometry.c')
0 files changed, 0 insertions, 0 deletions