Add slice view

This commit is contained in:
gingerBill
2024-03-30 10:46:51 +00:00
parent f2dd1e3c2d
commit 8342cfbd53
5 changed files with 86 additions and 2 deletions
+5 -1
View File
@@ -10,6 +10,10 @@
#include "third_party/blake2/blake2b.c"
#endif
#ifndef F_TAB_STRING
#define F_TAB_STRING " "
#endif
internal F_Hash
f_hash_from_string(String8 string)
{
@@ -617,7 +621,7 @@ f_push_run_from_string(Arena *arena, F_Tag tag, F32 size, F_RunFlags flags, Stri
B32 is_tab = (piece_substring.size == 1 && piece_substring.str[0] == '\t');
if(is_tab)
{
piece_substring = str8_lit(" ");
piece_substring = str8_lit(F_TAB_STRING);
}
//- rjf: piece substring -> raster cache info