# TextInput Caret Position

**URL:** <https://forums.fusetools.com/t/textinput-caret-position/2642>\
**Category:** How-to Discussions\
**Created:** [January 26, 2018, 9:10am UTC](https://forums.fusetools.com/t/textinput-caret-position/2642 "2018-01-26T09:10:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Diab](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ahmed_diab/32/692_2.png) [@Ahmed\_Diab](https://forums.fusetools.com/u/Ahmed_Diab)\
**Post date:** [January 26, 2018, 9:10am UTC](https://forums.fusetools.com/t/textinput-caret-position/2642/1 "2018-01-26T09:10:52Z")

</div>

Hey guys,

I’d like to get the current caret position for particular input for some text processing, so how can i do getting it ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [January 26, 2018, 9:38am UTC](https://forums.fusetools.com/t/textinput-caret-position/2642/2 "2018-01-26T09:38:18Z")

</div>

In short, you can’t control (or read) the caret position. What are you building that would require this?

---

<div class="post-metadata">

**Author:** ![Ahmed\_Diab](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/ahmed_diab/32/692_2.png) [@Ahmed\_Diab](https://forums.fusetools.com/u/Ahmed_Diab)\
**Post date:** [January 26, 2018, 9:56am UTC](https://forums.fusetools.com/t/textinput-caret-position/2642/3 "2018-01-26T09:56:08Z")

</div>

Hi @Uldis,  
i know that it’s not implemented yet, i’ve took a general view on all `Uno` libraries related to `TextEdit`, `TextInput`, `TextInputControl`, `MobileTextEdit` etc.

I’m intending to build an Input for `Comments` for a Social Network and i have to add `Mentions` for Panel for the input. I have build it and functioning almost fine, but still need some enhancement using Caret Position.

#1

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/Dg4c6Tr0PFy7-image-1516960395634.png)

#2

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/y3eVia5Ou7dq-image-1516960454995.png)

Also i can wrap a new native control but i haven’t sufficient information on how your `Renderer` works, because don’t like to attach it using `NativeViewHost`, it’s the worst choice 😥 .

Last thing i can say, i can trace the caret position using `onValueChanged` and see the difference between last value and current one … but i think it doesn’t seems to be good !
