ControlP5 has any copy and paste function in Textarea or input field?

There are some limitations with GTextArea.

  1. It cannot be completely empty. If you try and delete all the test it will put in a single space
  2. You cannot have two adjacent lines with no text i.e. zero length. You can use lines with one or more spaces to represent blanks lines.
  3. It is not designed to hold massive amounts of text.

The reason for these limitations is due to the fact I used a number of Java classes so that some or all of the text can be styled i.e. bold, italic, font, font size, foreground colour etc. To do this I used a number of Java classes that were never designed to be used directly.

2 Likes