No description
- Odin 100%
Root cause is in Skald, which is not ours to change, so this works around it
and records what to report upstream.
skald/text.odin, wrap_rich_text's `flush`, trims trailing Space atoms off a
line before it builds the segments the renderer draws from:
for len(cur) > 0 && cur[len(cur)-1].kind == .Space { pop(cur) }
Backgrounds are painted per SEGMENT (layout.odin, case View_Rich_Text, the
`sp.bg.a > 0` chip). So a span whose only content is that trailing space loses
its segment and everything the span carried with it -- bg, underline, strike,
link. This editor draws the caret AS a background, an inverted cell, so a
caret on a trailing space or on the padding cell past the end of a line was
never drawn at all. Confirmed against
|
||
|---|---|---|
| Skald@a431b47df2 | ||
| .gitignore | ||
| .gitmodules | ||
| buffer.odin | ||
| buffer_test.odin | ||
| editor.odin | ||
| editor_wrap_test.odin | ||
| hscroll.odin | ||
| main.odin | ||
| parallel.odin | ||
| pool.odin | ||
| README.md | ||
| rope.odin | ||
| rope_test.odin | ||
| structures.odin | ||
| TODOs.txt | ||
| vscroll.odin | ||
| vscroll_test.odin | ||
| work.odin | ||
| work_test.odin | ||
| wrap.odin | ||
| wrap_test.odin | ||
Lasso
Get a grip on your code!
Lasso is my attempt to make an ide that isn't doodoo asscheeks. Written in Odin with the Skald GUI library. Designed and optimized to be fast while editing fuckoff bigmassive files.
Enjoy, I guess.