> On Oct 18, 2023, at 1:20 PM, Andy Goryachev <andy.goryac...@oracle.com> wrote:
> 
> I wonder if this might encroach upon application-specific requirements/logic 
> (that is, does not belong to the control behavior).
>  
> For example, when the user enters text in a TextArea inside of a multi-cell 
> notebook style application, SELECT_ALL (ctrl-A) may trigger select all on 
> that TextArea, or the whole notebook page, depending on the actual 
> requirements.  This means it’s the function of the application or a page 
> container to intercept the key binding, and not the TextArea’s.
>  


It doesn’t matter whether it’s a key event or an action event, it’s going to be 
sent to the focusOwner and work up the dispatch chain. Either way it’s up to 
the TextArea and its container to negotiate what happens next.



 

Reply via email to