On 8/24/08, Joseph Hager <[EMAIL PROTECTED]> wrote: > > Test case: > > Create an IncrementalTextLayout with a caret and make it multiline. > Start typing without any spaces until you have gone past the edge of > the layout and you see that you keep going on the same line. Is there > anyway there could be an option for this to reflow to the next line > like a word processor would have? (Basically disabling horizontal > scrolling?) Another example is the text entry box of a chat program.
Current behaviour is fairly typical of multi-line text boxes where there is support for non-breaking lines (e.g., HTML standard). Breaking within words would be a reasonable feature enhancement, something I'd consider for 1.2. > > Now leave that how it is but go back to the beginning of the line and > type a word. At the end of the word press space and you see that the > long string of text goes to the next line (which is typical). Now > type another word and press space. Typically the word you just typed > would reflow back up a line. (And this is because no explicit hard > return was ever entered by the user. If a hard return was entered > later at that point the reflow up would not happen). Instead it is > left on this line and we have to go back up and press delete to get it > to look right. Thanks, fixed in r2210 (trunk) and r2211 (pyglet-1.1-maintenance). Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
