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.

Line.AnnotationText issue on clearing annotation #485

@bobbygatedev

Description

@bobbygatedev

In Line .cs line 285 (clearing annotation)
scintilla.DirectMessage(NativeMethods.SCI_ANNOTATIONGETTEXT, new IntPtr(Index), IntPtr.Zero);
should be
scintilla.DirectMessage(NativeMethods.SCI_ANNOTATIONSETTEXT, new IntPtr(Index), IntPtr.Zero);
as stated in https://scintilla.sourceforge.io/ScintillaDoc.html#SCI_ANNOTATIONSETSTYLES
"To clear annotations call SCI_ANNOTATIONSETTEXT with a NULL pointer."

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