Skip to content

Implement TextDocumentSync to Incremental Sync - #172

Open
oisanjaya wants to merge 21 commits into
genericptr:trunkfrom
oisanjaya:diag_overhaul-partial_didchange
Open

oisanjaya wants to merge 21 commits into
genericptr:trunkfrom
oisanjaya:diag_overhaul-partial_didchange

Conversation

@oisanjaya

Copy link
Copy Markdown
Contributor

Depends on PR #166. Only the latest commits are new.

  • Implement incremental textDocument sync by enabling Michael's code in PasLS.Synchronization.pas
  • Only check syntax on changed lines (received from client), improving performance.
  • Add error range messages.
  • Clear error partially if error range present.

oisanjaya and others added 21 commits September 5, 2026 21:52
- create fUserMessages, fCodeToolErrors, fParserErrors to hold
  diagnostic param items
- Create infrastructure methods to add/clear into theese fields
- Only add CodeTool error if there are no error previously on that
  location
- Improve CodeToolCheckSyntax to scan unknown identifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant