gtk2/testsuite
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
..
a11y Improve text a11y test 2015-10-15 22:35:38 -04:00
css Add a test for deprecated css properties 2015-11-23 22:31:20 -05:00
gdk Make display test not fail under Wayland 2015-08-28 12:26:25 -04:00
gtk textiter: fix bug in case insensitive backward search 2015-11-30 19:46:16 +01:00
reftests Fix reftests 2015-10-27 20:06:24 -04:00
tools test-simplify: Explicitly use bash 2015-09-20 12:18:35 -04:00
Makefile.am gtk-builder-tool: Add some tests 2015-05-02 17:39:06 -04:00