Skip to content

🐞 Flickering on cursor move and text editing #293

Closed
@nkleemann

Description

@nkleemann

Description

Since 0.10.0 the syntax highlighting flickers on and off for a split second for any action performed inside the view, meaning:

  • arrow keys (navigation)
  • space, return
  • text insert / delete

This was not the case with the previous version of CodeEditSourceEditor (0.9x)

To Reproduce

  1. Create a CodeEditSourceEditor instance where text is handled by a @Obsersvable viewmodel and start to edit text

Expected Behavior

The syntax highlighting should not flicker.

Version Information

CodeEditSourceEditor: [e.g. 0.10.0]
macOS: 14.7 (23H124)
Xcode: Version 16.2 (16C5032a)

Additional Context

No response

Screenshots

See video:

Screen.Recording.2025-02-05.at.08.53.45.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions