Zettlr: [BUG] CodeMirror pads selections on lines

Created on 3 Sep 2020  Â·  7Comments  Â·  Source: Zettlr/Zettlr

Description

Don't select a few left pixels on each selected lines

Reproducing

Select a few strings

Expected behaviour

More lookful selection


Screenshots

image

Platform

  • OS and version: Windows 10 with last updates
  • Zettlr Version: 1.7.5
  • Screen Resolution: 1920Ñ…1080

Additional information

UX bug [non-critical] confirmed mid

All 7 comments

I already found this weird behaviour; it's always exactly 4px and I do not know why CodeMirror applies this … I currently assume it has something to do with the line rendering process, but I haven't had the time to go into it

The size of the cursor (width) in Vim's command mode isn't wide enough. Is it related to this issue?

@dukebarman Nope, that's a different issue (which we simply cannot solve with the current CodeMirror implementation; you'd have to use a monospaced font-theme for this purpose)

Fixed during the editor refactoring!

What version of Zettlr I can to check it?

The one I'll be releasing this evening

Thanks, now it looks better.

Was this page helpful?
0 / 5 - 0 ratings