Re: bug in the EditText Area
- Posted by guest at rapideuphoria.com Feb 11, 2004
- 475 views
posted by: a.admin at myway.it Hello again, Wolf After set VOID = sendMessage( fTextArea, 197, 0, 0 ) the situation improv= es, but some problems remain. A 62K file may be edited with 'curious' restrictions: can cut/paste undo/re= do through all the file, but if the use of setSelectedText() is needed, it = works fine in almost all the file, but bad at its last lines, where a strin= g may be tagged before and after, but the string itself is replaced with an= other, taken somewhere else in that text or from the clipboard. This doesn't look like a 'normal' behaviour, and may be somewhat dangerous.= By the way, this problem arised from the use of a popup men=F9, which Derek= said "is built into Windows and not win32lib, so playing with it will requ= ire lots of trickery somewhere.." The same for larger files, now editable once loaded, but without any contro= l on what the editor is going to do, depending on where the text is being m= odified, beginning-of-file (just before the 64k limit?) or not. Every action may be done or not done, but the success cannot be predictable= : a user may not to realize that, before it's too late. I know that the programmer can prevent this situation (even if not so easy)= , but this is the programmer's job; the system before all should do its one= correctly. So I think there is a bug somewhere :() Antonio