Fix null pointer that builds in Windows apparently didn't care about

This commit is contained in:
Magnus Norddahl 2020-10-02 01:35:44 +02:00
parent 61788e2be2
commit 160882a962

View file

@ -79,6 +79,11 @@ namespace ScintillaNET
public class Line public class Line
{ {
public Line()
{
Text = "";
}
public int Position { get; private set; } public int Position { get; private set; }
public int EndPosition { get; private set; } public int EndPosition { get; private set; }
public string Text { get; private set; } public string Text { get; private set; }