| 949 | } |
| 950 | |
| 951 | QString reverse(QStringView str) |
| 952 | { |
| 953 | QString ret; |
| 954 | ret.reserve(str.length()); |
| 955 | for (int a = str.length() - 1; a >= 0; --a) |
| 956 | ret.append(str[a]); |
| 957 | |
| 958 | return ret; |
| 959 | } |
| 960 | |
| 961 | // Returns the text start position with all whitespace that is redundant in the given context skipped |
| 962 | int skipRedundantWhiteSpace(QStringView context, QStringView text, int tabWidth) |
no test coverage detected