don't rely on mvarText; should be removed if unnecessary
This commit is contained in:
parent
d4b2803088
commit
aafc8c8e3e
@ -58,7 +58,7 @@ namespace UniversalEditor.ObjectModels.Text.Plain
|
||||
public System.Collections.Specialized.StringCollection Lines { get { return mvarLines; } }
|
||||
|
||||
private string mvarText = String.Empty;
|
||||
public string Text { get { return mvarText; } set { mvarText = value; RebuildLines(); } }
|
||||
public string Text { get { return String.Join(LineTerminator, Lines); } set { mvarText = value; RebuildLines(); } }
|
||||
|
||||
private string mvarLineTerminator = System.Environment.NewLine;
|
||||
public string LineTerminator { get { return mvarLineTerminator; } set { mvarLineTerminator = value; RebuildLines(); } }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user