Files
gtk3/testsuite/gtk
Sébastien Wilmet 1a8f3e2462 textiter: fix bug in case insensitive backward search
'win.lines' contains the same content as the GtkTextBuffer, so to find
@match_start, forward_chars_with_skipping() is called with
skip_decomp=FALSE (the last parameter). So far so good.

On the other hand, the content 'lines' (the needle split in lines) is
casefolded and normalized for a case insensitive search. So,
forward_chars_with_skipping(..., skip_decomp=TRUE) must be called only
for the portion of text containing the needle.

Since 'start_tmp' contains the location at the start of the match, we
can simply begin at that location to find the end of the match.

Unit tests are added.

https://bugzilla.gnome.org/show_bug.cgi?id=758698
2015-11-30 19:46:16 +01:00
..
2015-10-20 06:14:57 -04:00
2013-09-03 17:59:19 -04:00
2013-06-30 11:19:50 -04:00
2015-05-28 16:53:53 +02:00
2015-04-30 06:19:10 -04:00
2013-06-15 16:27:04 -04:00
2015-11-20 00:13:20 -05:00
2014-10-02 19:06:03 +02:00
2014-08-02 11:38:44 +02:00
2014-06-04 13:54:41 +02:00
2014-10-31 22:34:09 -04:00
2013-06-24 01:13:44 +02:00
2014-08-14 00:04:10 -04:00
2014-02-17 21:42:38 -05:00
2014-05-13 11:56:29 -04:00