SpartanJ / ecode

Lightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
MIT License
937 stars 13 forks source link

Cursor selection not selecting while hovering over minimap #333

Closed Curculigo closed 2 weeks ago

Curculigo commented 1 month ago

Discussed in https://github.com/SpartanJ/ecode/discussions/332

Originally posted by **Curculigo** September 20, 2024 It's above text and I can't select the text hidden by it (even though I can somewhat still read the text because the Minimap is translucent).

Frankly speaking, I don't want to disable the Minimap (because it's beautiful and it makes the code editor looks modern, even though I have no uses for it). It's better if you can make it possible to select the text.

SpartanJ commented 1 month ago

You'll have to help me to trigger this, it's a really long line? What's your font size? It's the horizontal scrollbar active? Are you using a different font than the ones that comes with ecode (DejaVu Sans Mono)? Also if you have a literal example of text that triggers the issue could be helpful.

BTW minimap can be disabled in: Settings -› View -› Show Minimap, same place for the scrollbars.

BTW2: I recommend you to just enable Line Wrap if you need to handle long lines, it's in Settings -› View -› Line Wrap.

Curculigo commented 1 month ago

The horizontal scrollbar should move in the direction of the mouse when I select the text. Currently, it doesn't.

SpartanJ commented 1 month ago

Oh, now I gotcha, fixed.