SIGN IN SIGN UP

input: Allow to set selection for input (#2545)

Closes #2544

## Description

PR to solve selection update on editor component.

## Screenshot


## Break Changes

No breaking changes

## How to Test

Execute test crates/ui/src/input/state.rs - test_set_selection

## Checklist

- [x] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [x] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [x] Passed `cargo run` for story tests related to the changes.
- [x] _Tested macOS_ 
- [ ] , Windows and Linux platforms performance (if the change is
platform-specific)

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
G
Gints committed
49d1bef84cb374c42d82b2e8d7e8b0d685d9ed48
Parent: b327396
Committed by GitHub <noreply@github.com> on 7/8/2026, 1:15:16 PM