How get the position of a character in MultiLineEditbox?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

pyhmail
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Thu Apr 03, 2008 02:37

How get the position of a character in MultiLineEditbox?

Postby pyhmail » Mon May 26, 2008 11:45

I Create a MultiLineEditbox and set text for it,then the window show:
--------------
| ABCDEFG| <--- 1th line
| ABCDEFG| <--- 2th line
| ABCDEFG| <--- 3th line
|------------|

now I want get the pos of "E"character in 2th line,what should I do?
if the MultiLineEditbox has a vertical scrallbar,I want get the pos of "E"character in 2th line,what should I do?
Thanks!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Tue May 27, 2008 08:21

Hi,

Off the top of my head, I'm not certain that this is possible at the moment.

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 14 guests