textPosEq()

This commit is contained in:
Tenari
2026-06-07 10:56:46 -05:00
parent 9c6c72f964
commit d64bca26ef
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -505,3 +505,8 @@ fn u32 stringFindNextCharPosFrom(String s, u32 from, u8 c) {
}
return s.length;
}
fn bool textPosEq(TextPos a, TextPos b) {
return a.line == b.line && a.column == b.column;
}