コード例 #1
0
ファイル: Range.cs プロジェクト: cmontana88/OpenDBDiff
 public void Copy(CopyFormat format)
 {
     if (format == CopyFormat.Text)
     {
         NativeScintilla.CopyRange(_start, _end);
     }
     else if (format == CopyFormat.Rtf)
     {
         throw new NotImplementedException("Someday...");
     }
     else
     {
     }
 }
コード例 #2
0
 /// <summary>
 /// Copies text bounded by the given position
 /// </summary>
 /// <param name="positionStart">Start position in the document of text to copy</param>
 /// <param name="positionEnd">End position in the document of text to copy</param>
 public void Copy(int positionStart, int positionEnd)
 {
     NativeScintilla.CopyRange(positionStart, positionEnd);
 }