aboutsummaryrefslogtreecommitdiff
path: root/text-util.h
AgeCommit message (Collapse)AuthorFilesLines
2025-11-24text-util: convert trivial functions to macrosRandy Palamar1-3/+3
This would be less of an issue if vis was compiled as a single translation unit but even then compiler may not inline them if they are not marked as static.
2017-06-15text-util: add text_range_intersect utility functionMarc André Tanner1-0/+2
2016-05-24Add utility function to calculate display width of a stringMarc André Tanner1-0/+2
This is based on the implementation of text_line_width_get from text-motions.c. There might be an opportunity for code sharing.
2016-03-30text-util: constify text_range_* functionsMarc André Tanner1-6/+6
2015-11-23vis: improve replacement of combining charactersMarc André Tanner1-0/+2
2015-07-28text-util: introduce text_range_equalMarc André Tanner1-0/+2
2015-07-28text-util: add text_range_containsMarc André Tanner1-1/+3
2015-07-28text: move utility functions to separate fileMarc André Tanner1-0/+21