summaryrefslogtreecommitdiffstats
path: root/source/core/slang-string-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-string-util.h')
-rw-r--r--source/core/slang-string-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-string-util.h b/source/core/slang-string-util.h
index dc0d7e546..6a3b60240 100644
--- a/source/core/slang-string-util.h
+++ b/source/core/slang-string-util.h
@@ -80,6 +80,9 @@ struct StringUtil
/// Given text, splits into lines stored in outLines. NOTE! That lines is only valid as long as textIn remains valid
static void calcLines(const UnownedStringSlice& textIn, List<UnownedStringSlice>& lines);
+
+ /// Equal if the lines are equal (in effect a way to ignore differences in line breaks)
+ static bool areLinesEqual(const UnownedStringSlice& a, const UnownedStringSlice& b);
};
} // namespace Slang