MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / getChangesToCommit

Function getChangesToCommit

src/AndroidJNICalls.cpp:237–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 std::pair<bool, bool> getChangesToCommit(CustomEvents::InputTextBoxID tId) {
238 std::scoped_lock a{textboxMutex};
239
240 if(tId == textboxID)
241 return {textChanged, cursorChanged};
242 return {false, false};
243 }
244
245 std::pair<bool, bool> commitAll(CustomEvents::InputTextBoxID tId, const std::shared_ptr<RichText::TextBox>& t, const std::shared_ptr<RichText::TextBox::Cursor>& c) {
246 std::scoped_lock a{textboxMutex};

Calls

no outgoing calls

Tested by

no test coverage detected