Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
starfreakclone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
starfreakclone
8mo ago
There's nothing non-standard happening there. The compiler is allowed to translate #include -> import. Here's the standardese expressing that: https://eel.is/c%2B%2Bdraft/cpp.include#10 . I do agree, it&#
2.
▲
Text Editor Data Structures: Rethinking Undo
(cdacamar.github.io)
216 points
by
starfreakclone
3y ago
|
81 comments
3.
▲
by
starfreakclone
3y ago
Thank you for the pointer! I was actually not aware of this paper at all, which is why it was not included here (not sure how I missed it). I'll be sure to push a revision to the blog which mentions this paper.
4.
▲
by
starfreakclone
3y ago
Indeed, you could even use a piece tree just like in the blog but you store additional information in each piece which tell the renderer how to layout the associated text. My understanding is that most rich text editors represent the text
5.
▲
Text Editor Data Structures
(cdacamar.github.io)
367 points
by
starfreakclone
3y ago
|
78 comments