When adding a new KeyActionListener to a textField action map the new one removes textField’s default action for that specific key. I want to keep the default one along with the new one.
what do you suggest for solving this ?
Should i use textField.getActionMap().merge(); if yes can you provide an example please
You’ll need to download LemurDynamo-Beta3 which I just uploaded to Google Drive at the same link because I changed the resetText method to public access for you, previously it had protected access.
P.S. I didn’t go over to see what possible caveats there might be to allowing public access to that method, it shouldn’t be a problem for TrueTypeFonts, but I didn’t take a look to see what it did for BitmapFonts.
The real issue is that the TextEntryComponent is not watching the DocumentModel for changes. I’ll try to remember to add a bug to the Lemur issue tracker. (unless someone else does) Neck deep in release notifications at the moment.