[Laszlo-dev] For Review: Change 20071217-maxcarlson-V Summary: Add seuuport for setting/getting inputtext selection in DHTML
Max Carlson
max at openlaszlo.org
Wed Dec 19 14:57:44 PST 2007
Actually, if end is not passed it sets the cursor position to the start.
P T Withington wrote:
> Questions:
>
> setSelection:
> seems like if end is not passed, it should be an error, at least in
> debug mode?
>
> Otherwise, Approved modulo Phil's comments.
>
> Wow. What a lot of hair to have to go through for IE!
>
> On 2007-12-17, at 21:19 EST, Max Carlson wrote:
>
>> Change 20071217-maxcarlson-V by maxcarlson at Roboto on 2007-12-17
>> 18:14:44 PST
>> in /Users/maxcarlson/openlaszlo/trunk
>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>
>> Summary: Add seuuport for setting/getting inputtext selection in DHTML
>>
>> New Features:
>>
>> Bugs Fixed: LPP-4106 - LzText getSelectionPosition, getSelectionSize
>> not implemented in DHTML
>>
>> Technical Reviewer: promanik
>> QA Reviewer: ptw
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details: lztest-text.lzx - Changed selection tests to use inputtext.
>>
>> LzSprite.js - Clean up quirks setting, add text_selection_use_range
>> for IE. Fix _parent braino.
>>
>> LzInputTextSprite.js - Add setSelection() and getSelectionStart() and
>> getSelectionEnd.
>>
>>
>> Tests: lztest-text.lzx now passes all tests in test4() - selection.
>> Tested in Firefox, Safari and IE 7.
>>
>> Files:
>> M test/lztest/lztest-text.lzx
>> M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>> M WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
>>
>> Changeset:
>> http://svn.openlaszlo.org/openlaszlo/patches/20071217-maxcarlson-V.tar
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list