Home » U++ Library support » LineEdit, EditFields, DocEdit » BUG?: EditString Text rendering not stable with some Strings
|
|
|
Re: BUG?: EditString Text rendering not stable with some Strings [message #37438 is a reply to message #37437] |
Thu, 04 October 2012 21:54   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Thu, 04 October 2012 15:49 | we could stick to the printf rule, the first '\0' is the limiter, no matter how much more there might be..
i dont see any useful case to display things past the '\0' of a string in an EditString..Do you?
What do you mean by changeing len of string? actively editing the String? or simply adjusting the displayed len?
|
Well, String in U++ is defined as something that actually CAN contain zero characters. So if you are sending something like this into EditString, you sort of expect that these zeroes are editable (say that at least you can see them and delete them).
In fact, in e.g. LineEdit, this is even desired behaviour - you can then edit some "wrong" files and delete the garbage out or something like that. If LineEdit should support this, EditString should behave consistently, correct?
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:24:33 CEST 2025
Total time taken to generate the page: 0.00963 seconds
|