| 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}; |
no outgoing calls
no test coverage detected