summaryrefslogtreecommitdiff
path: root/editor/editor_property_name_processor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:53:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:53:56 +0100
commit40e4a11b6604147fbf364fcc6954ba7202004381 (patch)
tree413e13d1d695175577eeb3709cacf779c12df13c /editor/editor_property_name_processor.h
parentcd3d6e63a630414297cb580bcc891a0aa9f25127 (diff)
parentaafa816946dbf06e71f48b2fc4c7a1edf1eec65c (diff)
Merge pull request #68455 from Calinou/improve-editor-property-capitalization
Improve editor property capitalization
Diffstat (limited to 'editor/editor_property_name_processor.h')
-rw-r--r--editor/editor_property_name_processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_property_name_processor.h b/editor/editor_property_name_processor.h
index 37d905c806..fcabbfd9d3 100644
--- a/editor/editor_property_name_processor.h
+++ b/editor/editor_property_name_processor.h
@@ -40,6 +40,7 @@ class EditorPropertyNameProcessor : public Node {
mutable HashMap<String, String> capitalize_string_cache;
HashMap<String, String> capitalize_string_remaps;
+ LocalVector<String> stop_words; // Exceptions that shouldn't be capitalized.
// Capitalizes property path segments.
String _capitalize_name(const String &p_name) const;