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

Line.AnnotationText issue on clearing annotation #485

Open
bobbygatedev opened this issue Jun 5, 2020 · 1 comment
Open

Line.AnnotationText issue on clearing annotation #485

bobbygatedev opened this issue Jun 5, 2020 · 1 comment

Comments

@bobbygatedev
Copy link

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."

@xv
Copy link

xv commented Jun 5, 2020

Pull request #484

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

No branches or pull requests

2 participants