On Fri, Apr 03, 2009 at 09:41:00PM +0200, Fredrik Gustafsson wrote:
Hi, after submitting bug 903 I started to work an a solution. (bugg desc. added below for your convinience). 903 Impact: feature fault At: run time Type: misbehaviour Comments: <textarea> doesn't wrap lines (should be an option i dillorc) HTReproduce: visit a <textarea> and start typing a really long line without any linebreaks WorkedBy: nobody Submitter: iveqy*iveqy*com
My solution was to add text->wrap_mode(true,0); on line 678 in dw/fltkui.cc
This worked fine. The line is now wrapped. But after a post, dillo will crash (after sending the post, a post sent will be recieved by the webbserver before dillo crashes). I can't find where and why dillo crash. Does anyone have an id??
On deletion we remove the buffer from the fltk:TextEditor class which seems to cause the crash if wrap_mode is switched on. Attached patch simply resets wrap_mode on deletion. It seems to work fine here. Please give it a try. Not sure if we want a dillorc option or if we switch this on generally? What does the spec say and what do other browsers? Cheers and thanks for Your contribution, Johannes
-- Med v?nliga h?lsningar Fredrik Gustafsson
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev