Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

ScintillaNET 4.0 64-bit SCNotification modificationType is 0 #454

Open
leojazz opened this issue May 29, 2019 · 1 comment · May be fixed by #447
Open

ScintillaNET 4.0 64-bit SCNotification modificationType is 0 #454

leojazz opened this issue May 29, 2019 · 1 comment · May be fixed by #447

Comments

@leojazz
Copy link

leojazz commented May 29, 2019

Hi,

ScintillaNET 4.0 which hasn't been released yet appears to have a bug when the platform target is 64-bit.

ScnModified method in LineCollection.cs receives a parameter NativeMethods.SCNotification. When the text is changed SCNotification.modificationType is always 0 and therefore TrackInsertText and TrackDeleteText do not get called and this causes Lines.Count to always be 1.

In order to reproduce make sure to set your platform target in your WinForms project to x64. Goto Project-->Properties-->Build tab.

Let me know if you are able to reproduce the bug.

Regards,
leojazz

@toehead2001
Copy link
Contributor

This is fixed by #447.

@toehead2001 toehead2001 linked a pull request Jun 6, 2019 that will close this issue
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 a pull request may close this issue.

2 participants