Skip to content

Move index text parsing off the main thread #2936

Description

@vkbo

scanText parses the full document line-by-line on the GUI thread on every save. Split it so parsing runs in a worker on the text snapshot, producing plain data (headings, tags, counts) merged into the index structures on the main thread. Best folded into the planned index/outline refactor.

Part of #2923.

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

    refactoringEnhancement: Code refactoring needed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions