summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-16 10:48:14 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-16 10:48:14 +0100
commitf0f2b1c38336090746a7a2085a8aa8a1bd592273 (patch)
treeb9c2f043afb3fdc7be770fa69957c8b03d17c4dd /src/string.hh
parentd7806249d907e1a6dceb93c25d412c41e56a4ae8 (diff)
Trim whitespaces surrounding docstrings
Closes #1439
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string.hh b/src/string.hh
index 056db814..bfafa482 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -333,6 +333,8 @@ inline StringView operator"" _sv(const char* str, size_t)
Vector<String> split(StringView str, char separator, char escape);
Vector<StringView> split(StringView str, char separator);
+StringView trim_whitespaces(StringView str);
+
String escape(StringView str, StringView characters, char escape);
String unescape(StringView str, StringView characters, char escape);