nect
nect
Also I have successfully read over 5000 lines with ted, so this theory about memory is officially disproved. > Ok I tried it and seems like that when commenting that...
> The worst problem is that in case of a malformed unicode sequence we could read arrays out of bound or end up in other UB situations I'll look into...
 This is an example of the line numbers/cursor misplacement
I have tried to add the utf8 validation but I am unsure if it is actually working well, I would appreciate if you can check here https://github.com/bynect/Teditor/blob/utf8try/src/utf8.c (I have made...
> >  > > This is an example of the line numbers/cursor misplacement > > I think it can be a problem with the line break type detection. Maybe...
> > > >  > > > > This is an example of the line numbers/cursor misplacement > > > > > > > > > I think it...
Regarding this I think I have just found the root cause of misplaced lines et al, which is the way read_lines read linebreaks. Ive also found out that binary files...
> Probably the problem is that ted is trying to find the type of the line break, while it does not have a consistent line break type. Exactly, furthermore I...
Sounds great.
I have implemented a very rudimentary config file parser, could you please tell me what do you think about it? Should I do pr for this? Branch: https://github.com/bynect/Teditor/tree/config2