hcp-uw / syntext

website for practicing your typing
5 stars 0 forks source link

Spaces and newline characters for code snippets #15

Closed elimelt closed 1 year ago

elimelt commented 1 year ago

We need to figure out a way to both store these characters in our database, and how to represent them in Strings

karhu1 commented 1 year ago

Trying to implement using ascii. @kaitinderr has it under control 8)

elimelt commented 1 year ago

resolved! we don't store spaces (they are just transitions between tokens), and we stored tabs as the horizontal tab character (ascii value of 9).