nect

Results 323 comments of nect
trafficstars

I propose to move `expand` and `infer` before `desugar`. There are two benefits gained by moving infer and expand up in the pipeline. First and foremost, errors derived from macro...

Adding commands like scroll-to, find, jump-end, and other way to navigate the file would be super cool

Maybe its a problem with the utf8 encoding/decoding mechanism

> > Maybe its a problem with the utf8 encoding/decoding mechanism > > Try opening without utf8 Is there a way to disable utf8?

Ok I tried it and seems like that when commenting that part of the code, lines are no longer misplaced, but now ted hangs on line ~450. ~~But maybe this...

Maybe the problem lies within a call to utf8ToMultibyte from show_lines, but I am unsure on how to handle that

I have retried and ted reads successfully till the end of the binary file, however it still misplaces the cursor sometimes and up to a certain point becomes so clunky...

> I think we need a system to ignore characters that don't represent anything in text. By replacing with something like this (https://www.compart.com/en/unicode/U+16844) ? I think its a very good...

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