﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2912	V3: Encapsulate the command state change logic inside the CKEDITOR.command class	Frederico Caldeira Knabben	Frederico Caldeira Knabben	"There is a common repetition in the current code:

{{{
var command = editor.getCommand( name );
command.state = newState;
command.fire( 'state' );
}}}

This logic could be encapsulated inside the CKEDITOR.command class, so we can achieve the same thing with:

{{{
editor.getCommand( name ).setState( newState );
}}}"	Bug	closed	Must have (possibly next milestone)	CKEditor 3.0	General		fixed	Confirmed Review+	
