DummyView view = new DummyView(doc, render);
doc.Clear();
doc.Append("a\nb\nc\nd");
DummyView view = new DummyView(doc, render);
doc.Clear();
doc.Append("a\nb\nc\nd");
DummyView view = new DummyView(doc, render);
doc.Clear();
doc.Append("aa\nbb\ncc\ndd");
DummyView view = new DummyView(doc, render);
doc.Clear();
doc.Append("aa\nbb\ncc\ndd");
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find();
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find();
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find(3,4);
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find(3,4);
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find(0, 8);
doc.Append("is this a pen");
doc.SetFindParam("is", false, RegexOptions.None);
IEnumerator<SearchResult> it = doc.Find(0, 8);
doc.Append("a\nb\nc");
var result = doc.GetLines(0, doc.Length - 1).ToArray();
Assert.AreEqual("a\n", result[0]);
doc.Append("a\nb\nc");
var result = doc.GetLines(0, doc.Length - 1).ToArray();
Assert.AreEqual("a\n", result[0]);
doc.Append("this is a pen");
doc.SetMarker(MarkerIDs.Defalut, Marker.Create(0, 4, HilightType.Sold));
doc.Append("this is a pen");
doc.SetMarker(MarkerIDs.Defalut, Marker.Create(0, 4, HilightType.Sold));
DummyView view = new DummyView(doc, render);
view.MarkerPatternSet.Add(MarkerIDs.Defalut, dog);
doc.Clear();
DummyView view = new DummyView(doc, render);
view.MarkerPatternSet.Add(MarkerIDs.Defalut, dog);
doc.Clear();