示例#1
0
 void TryInjectDiffbasedMarker()
 {
     if (doc != null && diffMarker == null)
     {
         doc.AddMarker(diffMarker = new DiffbasedMarker(guiDoc != null && guiDoc.Editor != null ? guiDoc.Editor.Length : doc.TextLength));
     }
 }
示例#2
0
 void TryRemoveDiffbasedMarker()
 {
     if (doc != null && diffMarker != null)
     {
         doc.RemoveMarker(diffMarker);
     }
     diffMarker = null;
 }
示例#3
0
 void TryRemoveDiffbasedMarker()
 {
     if (doc != null && diffMarker != null)
         doc.RemoveMarker(diffMarker);
     diffMarker = null;
 }
示例#4
0
 void TryInjectDiffbasedMarker()
 {
     if (doc != null && diffMarker == null)
         doc.AddMarker(diffMarker = new DiffbasedMarker(guiDoc != null && guiDoc.Editor != null ? guiDoc.Editor.Length : doc.TextLength));
 }