summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-15 18:47:26 +0200
committerAleš Smodiš <aless@guru.si>2015-09-15 18:47:26 +0200
commit6bb35042ef6fb19d9af5ee874de9da2816cbc5d7 (patch)
treef476a8db9f3275d571e39f81de8dce4ec95e7d00 /js/codeq/comms.js
parent39fa66c8602bad9278d6683b35e0be6cc1ab92cc (diff)
Augmenting the console:
- implemented the support of the leftmostCol, the column from which the editing is allowed, - the onInput() handler can return a Promise, which is then waited on to be resolved before further input is allowed, - pasted multi-line content is split into lines, and processed line-by-line as if a single line was pasted multiple times.
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r--js/codeq/comms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index de6f918..db9b7b5 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -86,13 +86,13 @@
event = m.event;
if (typeof event !== 'string') {
- codeq.log.warn('Incoming message without a TID and with no event name, dropping it on the floor: ' + data);
+ codeq.log.info('Incoming message without a TID and with no event name, dropping it on the floor: ' + data);
return;
}
handlers = requestHandlers[event];
if (!handlers) {
- codeq.log.warn('Incoming event message cannot be handled: no handler registered for ' + event);
+ codeq.log.info('Incoming event message cannot be handled: no handler registered for ' + event);
return;
}