[elm-discuss] Re: keypress events interfering with editor update

2017-10-19 Thread Dave Doty
Thank you! That was the key idea: not generating the message at all in some circumstances, by doing a check in the subscription. On Thursday, October 19, 2017 at 11:31:25 AM UTC-7, Simon wrote: > > I think you need to add a variable to your model that records whether the > editor is being

[elm-discuss] Re: keypress events interfering with editor update

2017-10-19 Thread Simon
I think you need to add a variable to your model that records whether the editor is being used and then in yout subscription you have myKbdSubs model = if model.editorBeingUsed then Sub.none else On Thursday, 19 October 2017 00:34:35 UTC+2, Dave Doty wrote: I am using this Ace