public void Copy(CopyFormat format) { if (format == CopyFormat.Text) { NativeScintilla.CopyRange(_start, _end); } else if (format == CopyFormat.Rtf) { throw new NotImplementedException("Someday..."); } else { } }
/// <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); }