diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2015-08-09 19:58:14 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2015-08-09 19:59:23 +0100 |
commit | 15e8dd494c2fcfca9df750dc9e31b93b905b9ede (patch) | |
tree | 1581f48a3933a7ff64af862da9ba50aafa028f5e | |
parent | 06e3090b489f40ce796237dd33df78ed5012fb1f (diff) | |
download | fpGUI-15e8dd494c2fcfca9df750dc9e31b93b905b9ede.tar.xz |
richview: earmarked TRichTextView.CopyTextToBuffer() to be removed
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 4 |
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, |