Also please suggest me some controllable light source, I want to display lot's of different colors, and motors would be also great. I want to create a relaxing room with slow motions etc.., so power (watt) should be low.
How can I get the current textleading? I know I can set it with textleading(), but I want to get the current value, or somehow count it out (I guess it is connected to font size, just don't know how).
1, write 'a' characters almost till the end of the first line
2, hit space and write another word, which will move to the next line after some chars typed (remember when)
3, move back to the position where your second word moved to second line (so if you have the word something, and some would fit in the first line, move the caret after some)
4, now hit space a couple of times...
Now nothing happens :D oh well..word will add these spaces at the end of the first line..so if you added like 50spaces and move left, your caret will go somewhere far on the right part of first line and become invisible...if you hit left enough, it will come back to the canvas.
In Q10 it also happens but the cursor will go back to the first line, and remain in the last position instead of dissapearing like in word.
I don't know if this is a bug or just strange behaviour...what do you think?
I am asking because I am writing my own editor in processing, and now I programmed it to act like the same..but what should really happen in this case? (I still have some stuff to fix about the caret).
I want to create a simple text editor in processing, however I need a few things, which I couldn't find in existing libaries (checked controlP5, G4P).
- I need a big textarea where the user can edit text (fullscreen editing), copy-paste, change fonts.
- I need transparent textarea
- Customise colors etc...
I am willing to create different functions (copy paste, save, etc..), but I don't know how to start. I wanted to start from scratch, but I guess it would be easier to use something from a library or native JS texteditor.