Merge pull request #95585 from HolonProduction/remove-cache

ScriptEditor: Remove obsolete completion cache
This commit is contained in:
Thaddeus Crews 2025-04-27 19:21:30 -05:00
commit 74fc4dae15
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
4 changed files with 0 additions and 85 deletions

View file

@ -548,11 +548,6 @@ Vector<Ref<ScriptBacktrace>> ScriptServer::capture_script_backtraces(bool p_incl
////////////////////
ScriptCodeCompletionCache *ScriptCodeCompletionCache::singleton = nullptr;
ScriptCodeCompletionCache::ScriptCodeCompletionCache() {
singleton = this;
}
void ScriptLanguage::get_core_type_words(List<String> *p_core_type_words) const {
p_core_type_words->push_back("String");
p_core_type_words->push_back("Vector2");

View file

@ -196,17 +196,6 @@ public:
Script() {}
};
class ScriptCodeCompletionCache {
static ScriptCodeCompletionCache *singleton;
public:
static ScriptCodeCompletionCache *get_singleton() { return singleton; }
ScriptCodeCompletionCache();
virtual ~ScriptCodeCompletionCache() {}
};
class ScriptLanguage : public Object {
GDCLASS(ScriptLanguage, Object)