The Problem is, that I'm not able to determine in which line the text cursor might be, and I'm also not able to place the cursor to a specific line. I tried a lot of things with file_seek, file_find and file_str_read but it doesn't work at all.
is there a way to specify the line in which the cursor in the txt file is or does anyone have a good solution for achieving this?