예제 #1
0
 public override void Dispose()
 {
     if (sciDoc != null)
     {
         sciDoc.Dispose();
         sciDoc = null;
         base.Dispose();
     }
 }
예제 #2
0
 protected CodeDocument(string title, SciDocument sciDoc)
     : base(title, sciDoc)
 {
     UnitVersion = -1;
 }
예제 #3
0
 protected CodeDocument(FileInfo fileInfo, SciDocument sciDoc)
     : base(fileInfo, sciDoc)
 {
     UnitVersion = -1;
 }
예제 #4
0
 internal ElaDocument(string title, SciDocument sciDoc)
     : base(title, sciDoc)
 {
     Features = CodeEditorFeatures.Outline | CodeEditorFeatures.Tasks;
 }
예제 #5
0
 internal ElaDocument(FileInfo fileInfo, SciDocument sciDoc)
     : base(fileInfo, sciDoc)
 {
     Features = CodeEditorFeatures.Outline | CodeEditorFeatures.Tasks;
 }
예제 #6
0
 internal EilDocument(string title, SciDocument sciDoc)
     : base(title, sciDoc)
 {
 }
예제 #7
0
 internal EilDocument(FileInfo fileInfo, SciDocument sciDoc)
     : base(fileInfo, sciDoc)
 {
 }
예제 #8
0
파일: SciDocument.cs 프로젝트: ngoffee/ela
 public static bool Equals(SciDocument left, SciDocument right)
 {
     return(Object.ReferenceEquals(left, right) ||
            !Object.ReferenceEquals(left, null) && !Object.ReferenceEquals(right, null) &&
            left.Pointer == right.Pointer);
 }
예제 #9
0
 public static bool Equals(SciDocument left, SciDocument right)
 {
     return Object.ReferenceEquals(left, right) ||
         !Object.ReferenceEquals(left, null) && !Object.ReferenceEquals(right, null) &&
         left.Pointer == right.Pointer;
 }
예제 #10
0
 protected TextDocument(string title, SciDocument sciDoc)
     : base(title)
 {
     this.sciDoc = sciDoc;
 }
예제 #11
0
 protected TextDocument(FileInfo fileInfo, SciDocument sciDoc)
     : base(fileInfo)
 {
     this.sciDoc = sciDoc;
 }