diff options
Diffstat (limited to 'docview/components/richtext/RichTextView.pas')
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas index 634a80b0..46873de1 100644 --- a/docview/components/richtext/RichTextView.pas +++ b/docview/components/richtext/RichTextView.pas @@ -2350,19 +2350,19 @@ begin EndP := FText + FSelectionStart; end; - Result := CopyPlainTextToBuffer( P, - EndP, - Buffer, - BufferLength ); + //Result := CopyPlainTextToBuffer( P, + // EndP, + // Buffer, + // BufferLength ); end; function TRichTextView.CopyTextToBuffer( Buffer: PChar; BufferLength: longint ): longint; begin - Result := CopyPlainTextToBuffer( FText, - FText + strlen( FText ), - Buffer, - BufferLength ); + //Result := CopyPlainTextToBuffer( FText, + // FText + strlen( FText ), + // Buffer, + // BufferLength ); end; Function TRichTextView.SelectionLength: longint; |