feat(term): add select method

Adds select() method to Terminal. Method behaves the same way as
TextEdit's select method.
This commit is contained in:
Leroy Hopson 2024-04-26 13:58:49 +12:00 committed by Leroy Hopson
parent 43303a51bf
commit dd118d72f3
5 changed files with 112 additions and 8 deletions

View file

@ -74,6 +74,8 @@ namespace godot
void clear();
void select(const int p_from_line, const int p_from_column, const int p_to_line, const int p_to_column);
String copy_all();
String copy_selection();
void set_copy_on_selection(const bool p_enable);