Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ury2ok2000 on February 07, 2015, 11:00:25 PM

Title: Large TextBox Editing
Post by: ury2ok2000 on February 07, 2015, 11:00:25 PM
I am trying to display a large amount of text that the user can highlight / edit. This is for a study program so the text is from a chapter so several pages long. This means that (as far as i know) I cant simply put it all in one text box. So my solution so far has been to split it up into several text boxes thrown into a table and that into a scroll view. Well i can edit the document and scroll through it, however since it is multiple text boxes i run into a problem if i try highlighting 2 boxes at the same time. Say i am starting the highlight at the last editable line in one text box and drag my mouse down to the next it doesn't register on that box. Editing a text box highlights it, as such it seems that i can only do one at a time. Any thoughts on how to get around this? If it helps i do have all the text boxes in an array so i can determine easily the order of the boxes.

v/r
Thanks
Title: Re: Large TextBox Editing
Post by: ArenMook on February 08, 2015, 11:46:33 PM
Why can't you put it all in one text box?
Title: Re: Large TextBox Editing
Post by: ury2ok2000 on February 09, 2015, 06:50:55 PM
I get an error about too many vertices if i put it all in one.
Title: Re: Large TextBox Editing
Post by: ArenMook on February 10, 2015, 05:18:36 AM
Don't use text effects (shadow, outline). Keep it simple. Text effects greatly increase vertex count.