| 834 | } |
| 835 | |
| 836 | void JavascriptProcessor::SnippetDocument::Notifier::handleAsyncUpdate() |
| 837 | { |
| 838 | String text; |
| 839 | |
| 840 | { |
| 841 | SpinLock::ScopedLockType sl(parent.pendingLock); |
| 842 | parent.pendingNewContent.swapWith(text); |
| 843 | } |
| 844 | |
| 845 | parent.setDisableUndo(true); |
| 846 | parent.replaceAllContent(text); |
| 847 | parent.setDisableUndo(false); |
| 848 | |
| 849 | parent.pendingNewContent = String(); |
| 850 | } |
| 851 | |
| 852 | JavascriptProcessor::SnippetResult::SnippetResult(Result r_, int c_): r(r_), c(c_) |
| 853 | {} |
no test coverage detected