Open core-ai-bot opened 3 years ago
Comment by njx Thursday Feb 06, 2014 at 23:06 GMT
Did an initial review. My one general comment is that it seems like it would be better and more consistent to just have Editor._installEditorListeners()
install the listeners for the CM events and then redispatch them as jQuery events, just like we do with the other CM events. That way you wouldn't have to depend on guessing that the active editor is the one that you got the event from.
Comment by redmunds Friday Feb 07, 2014 at 00:45 GMT
Oh, I didn't realize that CodeMirror also sent out those separate events -- that's much simpler. Closing.
Issue by redmunds Thursday Feb 06, 2014 at 20:30 GMT Originally opened as https://github.com/adobe/brackets/pull/6779
This is for #6042 and unit tests for url hints and js parameter code hints.
Changes:
token.className
has been replaced withtoken.type
.This fixes unit tests and I did some basic testing of code hints, but this has not been stress tested.
Note: use ?w=1 for Editor.js changes cc
@
njxredmunds included the following code: https://github.com/adobe/brackets/pull/6779/commits