CodeEditApp/CodeEditTextView

๐Ÿž Text selection is janky while dragging across lines

austincondiff opened this issue ยท 1 comments

Description

While making a multi-line text selection, it can appear janky because the background shifts briefly while dragging across lines.

To Reproduce

  1. Make a multi-line selection.
  2. Notice that while dragging across lines the selection background sometimes shifts.

Expected Behavior

The selection background should remain in the same place while dragging across lines.

Version Information

CodeEditTextView: 0.7.0
macOS: 14.0
Xcode: 15.0

Screenshots

CodeEdit

Screen.Recording.2023-12-20.at.11.50.00.PM.mov

CodeEdit (frame-by-frame tracking)

Screen.Recording.2023-12-21.at.12.00.05.AM.mov

Xcode

Screen.Recording.2023-12-20.at.11.48.46.PM.mov

I can't seem to reproduce this, there's been a few changes to selection drawing and a bunch of bug fixes since this was created. Is this still an issue?