()
| 190 | const isTyping = typingLatch.current && !typingLatch.current.isDone; |
| 191 | |
| 192 | const forceUpdate = () => { |
| 193 | if (view && value !== view.state.doc.toString()) { |
| 194 | view.dispatch({ |
| 195 | changes: { from: 0, to: view.state.doc.toString().length, insert: value || '' }, |
| 196 | annotations: [ExternalChange.of(true)], |
| 197 | }); |
| 198 | } |
| 199 | }; |
| 200 | |
| 201 | if (!isTyping) { |
| 202 | forceUpdate(); |
no outgoing calls
no test coverage detected
searching dependent graphs…