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

ScintillaNET 4.0 64-bit SCNotification modificationType is 0 #454

@leojazz

Description

@leojazz

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

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