Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead

Home Page:https://Enter-tainer.github.io/typst-preview/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve cursor indicator

psads-git opened this issue · comments

I think it would be very useful to have a visible marker that, at each moment, indicated, on the pdf viewer, where the cursor on the typ file is. Thanks!

there is one. you may browse the config to enable it.

we want to further improve it, so it's noy enabled ny default

Thanks, @Enter-tainer! My fault: I had not seen that before.

Indeed, the cursor still needs improvement. In particular, the level of transparency should be higher, so that the text under the cursor is made more visible.

the level of transparency should be higher

Agree. Would you like open a pr and fix it?

the level of transparency should be higher

Agree. Would you like open a pr and fix it?

Unfortunately, I do not know rust to accomplish that!

I guess you have meanwhile tried to improve the cursor, but now, after the latest update, it does not show up.

Perhaps for quick remedy, it'd be worthwhile considering exposing values responsible for how the cursor indicator looks like in the settings: blink rate, color, opacity, shape.

I think it would be very useful to have a visible marker that, at each moment, indicated, on the pdf viewer, where the cursor on the typ file is. Thanks!

Can't help but feel that this could possibly be the seeds of a "killer" feature because, when coupled with another (existing) feature that lets users jump to the part of the typ file by clicking in the pdf preview, users will be able to edit the pdf document directly in the pdf preview resulting in an arguably friendlier user experience more similar to popular word editors like MS Word, and LibreOffice. 🤔💭