Skip to content

Remove the Gap from the TextBuffer #91

Description

@defname

In the moment TextBuffer uses a Gap for efficient editing.

But this is completely incompatible to the SyntaxHighlightingengine which operates on complete lines. This is why at the moment the gap is merged at every key stroke and by that becomes just an obsolete overhead.

In long term the TextBuffer should be changed to a rope, and the syntax highlighting system could store total offsets (maybe also in a binary tree structure)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions