geany/tests
Thomas Martitz 30a486d624 utils: fix suboptimal elipsis substitution by utils_strv_shorten_file_list()
Because utils_strv_find_lcs() didn't consisider path component boundaries
it have have found substrings that are longest in itself but not so ideal
when utils_strv_shorten_file_list() applied path boundaries.

utils_strv_find_lcs() now can optionally restrict the substring between
delimiters (i.e. dir separators). In that mode it will find the longest
substring that is also sorrounded by the delimiters (there may be more
delimiters inside the string).

The unit test that demonstrated the deficient is fixed since
now the expected substitution takes place.
2019-09-20 23:01:03 +02:00
..
ctags Merge pull request #2134 from b4n/ctags/new-flex-parser 2019-04-28 11:14:33 +02:00
Makefile.am tests: unit test for some util strv functions 2019-09-20 22:58:25 +02:00
test_utils.c utils: fix suboptimal elipsis substitution by utils_strv_shorten_file_list() 2019-09-20 23:01:03 +02:00