Arthur Bacci

Results 37 comments of Arthur Bacci

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

> ![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 it detects it as...

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

I will take a look at it later, now I am changing other things in the code.

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.

If we remove CR line break support, we can just ignore carriage returns when reading the file.

CR is not used in any modern operating system. There is no why to support it.

> If we remove CR line break support, we can just ignore carriage returns when reading the file. https://github.com/ArthurBacci64/Teditor/commit/48523c4f7bbbe27536dd41644aed2edf345f1537

> > NCurses is causing limitations. > > Lol... I despise Ncurses. It leaks memory like a sieve. Too bad there's nothing better in common use... In the case of...

I was thinking about a .ini like syntax. Something like this: ``` [c] autotab 1 use-spaces 0 tablen 4 [py] autotab 1 use-spaces 1 tablen 2 ```