Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Use IntPtr for TextRange to support x86 and x64 #91

Merged
merged 1 commit into from
May 28, 2022

Conversation

Fruchtzwerg94
Copy link
Contributor

Fix for #74 #84

Works for x86 but crashes on for x64:
TextRange textRange = new TextRange(0, -1, 1000)

After modifying to IntPtr it runs for both architectures:
TextRange textRange = new TextRange(new IntPtr(0), new IntPtr(-1), 1000)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants