Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Using simple math for number textboxes #1762
I was wondering if there are plans to support math expressions in textboxes that should take a number, esp. the new document creation dialog. Something like Krita, where instead of calculating what 32 * 22 for 22 side by side sprites of width 32, you can simply type it into the box, and the program automatically parses the statement and puts the value into the entry for you, once it loses focus. An error (math expression isn't complete; expecting an integer, but got a float, etc.) could show something like "MATH ERROR", or it could just default to 0, whichever is simpler.