# gpui: Add text_edit_editable_range API \(\#63294\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d84e5d4992bd445b8af8eeaf1717f4cf9c5d5a54)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d84e5d4992bd445b8af8eeaf1717f4cf9c5d5a54

Requested commit: d84e5d4992bd445b8af8eeaf1717f4cf9c5d5a54

Commit: d84e5d4992bd445b8af8eeaf1717f4cf9c5d5a54

Tree: 2581281ad44a1481d8ba2b0c63c6a41570acba9e

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
gpui: Add text_edit_editable_range API (#63294)

When syncing text to the browser IME mirror, we sometimes need to mark a
particular range as "editable". Native clients have a pull-based model,
so don't need this mechanism, but on the web we need to proactively push
content to the IME mirror `textarea`.

---

Release Notes:

- N/A or Added/Fixed/Improved ...

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
```

## Parents

- [c8dfe26a7e554a378241186533f1aa9bd6522284](https://git.cafe/gitcafe/zed/commit/c8dfe26a7e554a378241186533f1aa9bd6522284?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d84e5d4992bd445b8af8eeaf1717f4cf9c5d5a54?format=markdown)
