# First character in TextArea has wrong LineNumber

**URL:** <https://forum.xojo.com/t/first-character-in-textarea-has-wrong-linenumber/74201>\
**Category:** General\
**Created:** [January 23, 2023, 1:27pm UTC](https://forum.xojo.com/t/first-character-in-textarea-has-wrong-linenumber/74201 "2023-01-23T13:27:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![David\_Cox](https://forum.xojo.com/user_avatar/forum.xojo.com/david_cox/32/227_2.png) [@David\_Cox](https://forum.xojo.com/u/David_Cox)\
**Post date:** [January 24, 2023, 9:44am UTC](https://forum.xojo.com/t/first-character-in-textarea-has-wrong-linenumber/74201/3 "2023-01-24T09:44:13Z")

</div>

BTW the workaround is to treat it as Base-0 and add two to the character position.

---

_[View the full topic](https://forum.xojo.com/t/first-character-in-textarea-has-wrong-linenumber/74201)._
