[Laszlo-dev] For Review: Change 20070809-ben-u Summary: Explicitly hook up font color combobox to editor's font color

Max Carlson max at openlaszlo.org
Fri Aug 10 11:13:32 PDT 2007


Approved!

Benjamin Shine wrote:
> Change 20070809-ben-u by ben at slim.local on 2007-08-09 14:30:16 PDT
>     in /Users/ben/src/svn/openlaszlo/branches/wafflecone
>     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
> 
> Summary: Explicitly hook up font color combobox to editor's font color
> 
> New Features:
> 
> Bugs Fixed: LPP-4461 In rich text editor, font color combo box does not 
> update when cursor moves to different colored text
> 
> Technical Reviewer: max (pending)
> QA Reviewer: mkratt (pending)
> Doc Reviewer: (pending)
> 
> Documentation:
> This change is more of the process of making connections between the 
> editor and the
> editing components explicit. When the editor is hooked up to the font 
> color combo box, the
> font color combo box must change its color to match the color of the 
> editor's default
> font color. This sounds like doubletalk, but it's actually more like 
> quadrupletalk.
> 
> Release Notes:
> 
> Details:
> In order for the font color combo box to match the color of the default 
> font of the
> associated editor, the default font of the editor *must* be one of the 
> color options
> in the fontcolors dataset.
> 
> Tests:
> 
> http://localhost:8080/wafflecone/lps/components/incubator/rich-text/test/richtexteditarea-driver.lzx?debug=true&lzr=swf8 
> 
> Select some text. Choose a color. Move the cursor to some other text. 
> The color combo box should take on the color of the text it is currently 
> in. Select some more text, set it's color. Move the cursor between text 
> of various colors, and the color combo box should always update to match 
> the color of the text at the current insertion point.
> 
> Files:
> A      lps/components/incubator/rich-text/test/richtexteditarea-driver.lzx
> M      lps/components/incubator/rich-text/formatfontcolor.lzx
> 
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070809-ben-u.tar

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list