MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setTextSilent

Method setTextSilent

src/app/script/api/entry_script.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 bool canRaiseEvent = true;
23
24 void setTextSilent(const std::string& text) {
25 canRaiseEvent = false;
26 setText(text);
27 script::setStorage(text, id(), m_fileName);
28 canRaiseEvent = true;
29 }
30
31 void onChange() override {
32 script::setStorage(text(), id(), m_fileName);

Callers 1

Calls 1

setStorageFunction · 0.85

Tested by

no test coverage detected