+1 vote

TextEdit don't support BBCode, but i need a node in wich i can type during the game and that support BBCode to add images...etc


Already tried:

-make an invisible TextEdit in wich I type, then i change the RichTextLabel text to it, this works great but the problem is that I don't have a cursor and making one seems a bit hard as get_font("font").get_string_size(text) is not consistent, when I type a lot, the cursor start to go too far.
And using this method would mean that I miss a lot of TextEdit features...


I know i could be working with a preview system but if i could do without it I'd be much happier


thanks if you took the time to read ! (and sry if the writting is not good i'm french)

in Engine by (28 points)

1 Answer

0 votes

You can use the syntax highlighting option in the TextEdit node

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.