When attempting to do TextEditor.TextArea.KeyDown += (s, e) => Console.WriteLine(e.Key); I will get a console message for just about any key, except for the tab key.
I'm hoping to get some help with this and have a way to respond to and handle tab key presses in the editor before they are written into the document.
found out that the key tab gets consumed much higher along the chain already in avalonia, got around it with textBox.AddHandler(KeyDownEvent, OnKeyDown, RoutingStrategies.Tunnel);
sorry!
When attempting to do
TextEditor.TextArea.KeyDown += (s, e) => Console.WriteLine(e.Key);
I will get a console message for just about any key, except for the tab key.I'm hoping to get some help with this and have a way to respond to and handle tab key presses in the editor before they are written into the document.
Thanks!