On Thu, Aug 15, 2002 at 05:19:31PM +0200, Philippe Ney wrote: > Hi Micah, > > I currently try to dive deep in the textbox widget source code ...
Sorry I haven't been working on that much this week, I've been in Canada. > > I had the same segfault as with the textedit widget when trying to erase > the last remaining char... > The following little change correct the segfault > > pgserver/gcore/paragraph.c in line 591 > 'if (meta)' become 'if (ch && meta)' > > ... but just the segfault as it make another bug (or maybe highlight it > ...): When you continue to BACKSPACE even when no more chars are in the > text, the widget remember the number of backspace you type and doesn't > display anymore text until you re-type the same number of chars. > > I hope this could be of some help for you. Thanks, I'll make sure these get fixed. > > I also have the problem to print the '\n' char as ? is displayed instead. > I will search about this. I think it's at display time as the right char > is saved in the buffer. Maybe you have some tips? Yes, this is expected now. The "paragraph" object is only designed to handle a single paragraph with no line breaks. It displays the \n literally, which comes up as a "?" in the default font. Once I've got the paragraph object as debugged as I can, I'll add the logic to the textbox widget for editing multiple paragraphs. > > -philippe > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel -- Only you can prevent creeping featurism! ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
