Open sfreemire opened 1 year ago
Now, when pasting strings that include the saved strings parenthesis section, the Rule String "Enter" event code strips that off automatically. "Rule string entry updates https://github.com/sfreemire/IP_MAP_Calculator/issues/11" is closed.
Currently, the 'Rule String:' field is only 60 characters wide. It can hold more characters, but there is no scroll bar. Therefore, users have to position the cursor and use the arrow keys to see the hidden characters. This is tedious, but will only happen when they enter a rule name that is more than 26 characters long.
In
if event == '-ENTER_STRING-':
section of Event Loop, does max length need to be validated? Do other validations already make the use of excessive characters impossible?statement is:
elif len(values['-STRING_IN-']) > 69:
Update 11/21/23: If you paste a saved string and include the parentheses section, max length is triggered. This is actually helpful until Enhancement "Rule string entry updates #11" - "Handle pasting of space and/or paren section of saved string automatically (strip them out)" is completed.