[Lazarus] Error when copying to clipboard.

Michael Van Canneyt michael at freepascal.org
Wed Nov 8 14:43:15 CET 2017


Hi,

When doing a copy to the clipboard from the IDE source editor, lazarus adds
the terminating NULL. This is wrong and sometimes causes errors.

Select text in IDE. Copy to search/address bar of browser. hit enter.

Results in following query being executed:

https://www.google.be/search?q=TObject%00&oq=TObject%00&ie=UTF-8

Notice the %00...

If you position the cursor at the end and press backspace in the search bar/address bar,
you'll see that the readable text is not actually becoming shorter, because
you are then deleting the terminating null...

Michael.


More information about the Lazarus mailing list