Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13639
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?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DocEdit code scrolling
Next Topic: Custom check for EditIntXxxx controls
Goto Forum:
  


Current Time: Wed Jun 29 05:48:46 CEST 2022

Total time taken to generate the page: 0.01311 seconds