A general purpose Send some JavaScript to a text editor call. This is queued to run inside the animation cycle, and thus is thread-safe.
(String javascript)
| 1269 | * A general purpose Send some JavaScript to a text editor call. This is queued to run inside the animation cycle, and thus is thread-safe. |
| 1270 | */ |
| 1271 | public void sendJavaScript(String javascript) { |
| 1272 | Log.log("javascript.trace", () -> ">>>Sending javascript"); |
| 1273 | Log.log("javascript.trace", () -> javascript); |
| 1274 | Log.log("javascript.trace", () -> "<<<Sentjavascript"); |
| 1275 | server.send(socketName, javascript); |
| 1276 | } |
| 1277 | |
| 1278 | /** |
| 1279 | * A general purpose Send some JavaScript to a text editor call, doesn't queue it inside the animation cycle, this must be called from the main thread, or a blocking ThreadSync thread |
no test coverage detected