[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Default initialisation of input_return for MULTILINE_INPUT

From: Jens Thoms Toerring
Subject: Re: [XForms] Default initialisation of input_return for MULTILINE_INPUT
Date: Sat, 4 Dec 2010 21:16:01 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Eberhard

On Fri, Dec 03, 2010 at 09:59:14AM +0100, Eberhard Kuemmerle wrote:
> according to the documentation, |FL_RETURN_END_CHANGED
> <http://xforms-toolkit.org/doc/xforms_6.html#FL_005fRETURN_005fEND_005fCHANGED>
> should be set as the default value for all input objects.
> But that is not true for ||FL_MULTILINE_INPUT, the default
> initialisation is missing there.
> To correct that, I suggest the following patch to the function fl_add_input:
> --- input.c_orig   # input.c from xforms-1.0.93sp1.tar.gz
> +++ input.c
> @@ -1711,6 +1711,7 @@
>          fl_add_child( sp->dummy, sp->hscroll );
>          fl_set_object_callback( sp->input, input_cb, 0 );
> +        fl_set_object_return( sp->dummy, FL_RETURN_END_CHANGED );
>      }

Thank you very much for the patch, as far as I can see it solves
the problem quite nicely! It's going to be in the next pre-release,
hopefully uploaded real soon now after I have taken care of another
(unrelated) issue.
                       Thanks and best regards, Jens
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]