[Gambas-bugtracker] Bug #1721: TRY doesn't silence the error

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Feb 2 00:21:28 CET 2020


Comment #5 by Benoît MINISINI:

The bug is not in the clipboard, it's in your code: you assume that if you insert N characters in a TextArea, then the length of the TextArea is N characters. This is wrong for non-printable characters like "\r", that are copied to the clipboard by 'gedit' (whereas newline in Unix is just "\n"), but are ignored by Qt TextArea widget.

More information about the Bugtracker mailing list