nect

Results 332 comments of nect
trafficstars

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...

![errorted](https://user-images.githubusercontent.com/68197565/113062797-967f5480-91b4-11eb-9290-58479b403ffb.jpg) 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...

> > ![errorted](https://user-images.githubusercontent.com/68197565/113062797-967f5480-91b4-11eb-9290-58479b403ffb.jpg) > > This is an example of the line numbers/cursor misplacement > > I think it can be a problem with the line break type detection. Maybe...

> > > > ![errorted](https://user-images.githubusercontent.com/68197565/113062797-967f5480-91b4-11eb-9290-58479b403ffb.jpg) > > > > 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