Yet another nice UI feature in magit: when interactively rebasing (press `E`), `C-k` on a line crosses it out. http://t.co/L4jBE6ykGY
Related Posts
The "line of death", where the browser UI splits between trusted UI elements and UI controlled by the website.
Also argues that HTTP warnings are better than HTTPS padlocks, because there's incentive to spoof padlocks lower on the page.
https://emilymstark.com/2022/12/18/death-to-the-line-of-death.html
I'm experimenting with diagnostics formatting.
* I've added a left margin, showing both the file name and line numbers
* I'm showing one line of context above/below the offending line.
* I'm using grey for comments.
What do you think? Is there anything you'd change?
In LSP, a position is represented as a line number and a column offset (in Unicode code units): https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position
This is pretty elegant. You'll get the correct line regardless of encoding bugs, and the editor already knows the line number so it's cheap to compute.