summaryrefslogtreecommitdiff
path: root/docview/components/richtext/RichTextView.pas
diff options
context:
space:
mode:
Diffstat (limited to 'docview/components/richtext/RichTextView.pas')
-rw-r--r--docview/components/richtext/RichTextView.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas
index e890ca54..bc967d59 100644
--- a/docview/components/richtext/RichTextView.pas
+++ b/docview/components/richtext/RichTextView.pas
@@ -2414,9 +2414,13 @@ begin
// BufferLength );
end;
+// TODO: This doesn't seem to be used anywhere, so we could probably delete it.
function TRichTextView.CopyTextToBuffer( Buffer: PChar;
BufferLength: longint ): longint;
begin
+ Result := -1;
+ // TODO: we do this to trap code using this, so we can fix it accordingly.
+ raise Exception.Create('TRichTextView.CopyTextToBuffer was called, but it is not implemented yet.');
//Result := CopyPlainTextToBuffer( FText,
// FText + strlen( FText ),
// Buffer,