[Laszlo-dev] For Review: Change 20070814-jcrowley-S Summary: Fix rich text editor: now you can change the formatting before typing

Benjamin Shine ben at laszlosystems.com
Thu Sep 27 12:46:35 PDT 2007


Approved.

On Sep 27, 2007, at 12:28 PM, J Crowley wrote:

> Sorry, here's the patch again.
>
> Begin forwarded message:
>
>> From: J Crowley <jcrowley at laszlosystems.com>
>> Date: August 14, 2007 4:55:34 PM EDT
>> To: Benjamin Shine <ben at laszlosystems.com>, Max Carlson  
>> <max at laszlosystems.com>
>> Cc: Laszlo-dev bug reporting <laszlo-dev at openlaszlo.org>
>> Subject: For Review: Change 20070814-jcrowley-S Summary: Fix rich  
>> text editor: now you can change the formatting before typing
>>
>> Bleh, having issues with Janet's aunt's wireless, w/r/t uploading,  
>> so I'll have to send this changeset out manually:
>>
>> Again, no rush, WaffleCone first.
>>
>> Change 20070814-jcrowley-S by jcrowley at doctormanhattan.mshome.net  
>> on 2007-08-14 16:45:25 EDT
>>     in /Users/jcrowley/src/svn/openlaszlo/legals-safe
>>     for http://svn.openlaszlo.org/openlaszlo/branches/legals
>>
>> Summary: datagrid: If the columns are not updatable, it's  
>> impossible to select a row.
>>
>> New Features:
>>
>> Bugs Fixed: LPP-4201
>>
>> Technical Reviewer: bshine
>> QA Reviewer: max
>> Doc Reviewer:
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details: Ben and I weren't _entirely_ sure what this one meant,  
>> but I'm
>> 	pretty sure I figured it out.  I made it so that one can
>> 	select the text in a given row, without the row having to be
>> 	editable.  All you have to do is specify selectable="true" on
>> 	the gridtext element, as with any other text element.
>>
>> Tests: Run the following example:
>>
>> <canvas width="800" height="400" bgcolor="0xEAEAEA">
>>     <dataset name="contactsData" request="true" type="http"  
>> src="http:contactsdata.xml"/>
>>     <grid name="foo" datapath="contactsData:/*"  
>> sizetoheader="false" selectable="true">
>>         <gridtext editable="false" width="50" datapath="position 
>> ()" sortable="false">
>>         No.
>>         </gridtext>
>>         <gridtext editable="false" selectable="true"  
>> datapath="@firstname">First</gridtext>
>>         <gridtext editable="false" selectable="true"  
>> datapath="@lastname">Last</gridtext>
>>         <gridtext editable="false" datapath="@displayname">Full  
>> Name</gridtext>
>>     </grid>
>> </canvas>
>>
>> Note that you can now select the text in the row.
>>
>> Files:
>> M      lps/components/lz/gridtext.lzx
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070927/eced3e1e/attachment.html


More information about the Laszlo-dev mailing list