I'm trying to create a text field based editor for various data types. This is what I have come up with so far, and it appears to work for the most part*, but it seems quite verbose. Would anyone be able to tell me (a) if this is a good solution and (b) if not, what would be a better direction to go?
*There's a slight issue where selectAll()
doesn't work the first time you click on the field