Text: added stupid replacement function
The copy_and_replace function replaces a single character with a string, while copying. This may be replaced by an elaborate function as manipulating a text normally means that manipulating is deferred until needed, which this function contradicts to.
Showing
- sefht.geany 5 additions, 5 deletionssefht.geany
- src/lib/sefht/text.c 31 additions, 0 deletionssrc/lib/sefht/text.c
- src/lib/sefht/text.h 11 additions, 0 deletionssrc/lib/sefht/text.h
- src/lib/sefht/text_segment.c 155 additions, 0 deletionssrc/lib/sefht/text_segment.c
- tests/test_text.c 28 additions, 0 deletionstests/test_text.c
Loading
Please register or sign in to comment