News for hackers. Stuff that matters.
Re:Lapce Editor 0.3 by HelloNurse on Tuesday November 14, 2023 @03:34PM (#38269326)
Keyboard handling is so fundamental that a text editor must deal with it, perfectly, from the beginning. The cited issues aren't merely a severe and high impact bug cluster, but also an inexcusable design defect that disqualifies the whole project; I suppose someone decided to use Rust despite the lack of sufficiently mature input handling libraries.
Re:Lapce Editor 0.3 by Strom on Tuesday November 14, 2023 @03:59PM (#38269665)
> Keyboard handling is so fundamental that a text editor must deal with it, perfectly, from the beginning.

That would be nice but in reality it's such a tricky and subtle problem that nobody does it perfectly. All the operating systems and browsers are buggy in different ways, nevermind anything with smaller budgets. The deeper you get into proper text handling, the more you will realize that nobody has solved it.

Re:Lapce Editor 0.3 by HelloNurse on Wednesday November 15, 2023 @04:21AM (#38274808)
Perfection is unlikely, but serious developers should aim to be less buggy than the competition and/or limited by operating system and hardware shortcomings.
Re:Lapce Editor 0.3 by ihateolives on Wednesday November 15, 2023 @11:29AM (#38278540)
Handling dead keys and displaying national characters is solved problem and has been since MS-DOS times. It's really not that "tricky and subtle problem" in 2023. Unless one is inventing keyboard handling from scratch again.
Re:Lapce Editor 0.3 by Strom on Wednesday November 15, 2023 @06:02PM (#38283786)
Dead keys are a drop in the ocean of what goes into international keyboard handling, and even that functions differently in every browser and OS. Which browser or OS do you think has it solved, or do you think that all of them are solved despite giving different results for the same sequence of presses?

Displaying text is an even deeper issue and also broken, the further you go from latin alphabets.

Referencing MS-DOS really takes the cake though. The Unicode standard wasn't even released until late 1991. They're still updating it even today, because it's a lot of work to handle international languages.

Re:Lapce Editor 0.3 by Philpax on Tuesday November 14, 2023 @04:04PM (#38269732)
That's a very strong opinion about a project that is at 0.3 and is attending to many simultaneous problems, including building their own UI solution.

It's certainly an issue, especially for non-English users, but it doesn't "disqualify the whole project"; it just means that's not what they're prioritising at this time.

Re:Lapce Editor 0.3 by HelloNurse on Wednesday November 15, 2023 @04:18AM (#38274799)
Prioritising glamorous and interesting aspects like plugins and "their own UI solution" over boring correctness is not the way to deliver a good text editor.