On Fri, 7 Nov 2003 12:49:05 +0100 (Romance Standard Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> When you have a template depending on the header value you can't expand it > before the user enters values for those, but you have expand it before he > modifies the main text, so we evaluate the template only when the editor > gets focus. What is it useful for? If it isn't just consequence of too general template syntax. > This is not the best way but I couldn't (and still can't) think > of any other one to do it. Just put a button somewhere, but only if such template is used. It gives user control over the process. > On Fri, 7 Nov 2003 12:38:19 +0100 (CET) Robert Vazan <[EMAIL PROTECTED]> wrote: > > RV> wxTextCtrl doesn't > RV> support it and we probably have to find other way to do it. > > What exactly doesn't wxTextCtrl support? EVT_TEXT comes *after* the control is modified. It then returns true from IsModified, which triggers the assert. Minimal editor currently traps EVT_KEY_DOWN that comes before modifying control, but it doesn't always correspond to perceived operation of changing text. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
