12ceea9e54
When renaming a file (e.g. image.png), the input now selects only 'image' instead of 'image.png', preventing accidental extension changes. Folders still select the full name. Uses setSelectionRange(0, lastDot) to position cursor selection up to the last dot. Closes suggestion from issue #83 feedback.