Add 'uppercase' and 'lowercase' to script editor

This commit is contained in:
sersoong 2017-11-24 09:17:25 +08:00
parent 1cf15bb847
commit bcfe3dcd35
4 changed files with 52 additions and 3 deletions

View file

@ -125,6 +125,8 @@ class ScriptEditor : public VBoxContainer {
EDIT_COPY,
EDIT_PASTE,
EDIT_SELECT_ALL,
EDIT_UPPERCASE,
EDIT_LOWERCASE,
EDIT_COMPLETE,
EDIT_AUTO_INDENT,
EDIT_TRIM_TRAILING_WHITESAPCE,
@ -288,7 +290,7 @@ class ScriptEditor : public VBoxContainer {
void _script_selected(int p_idx);
void _script_rmb_selected(int p_idx, const Vector2 & p_pos);
void _script_rmb_selected(int p_idx, const Vector2 &p_pos);
void _find_scripts(Node *p_base, Node *p_current, Set<Ref<Script> > &used);