Index: /CKEditor/branches/prototype/_source/lang/en.js
===================================================================
--- /CKEditor/branches/prototype/_source/lang/en.js	(revision 2619)
+++ /CKEditor/branches/prototype/_source/lang/en.js	(revision 2620)
@@ -49,4 +49,5 @@
 	bold		: 'Bold',
 	italic		: 'Italic',
+	selectAll	: 'Select all',
 
 	elementsPath :
Index: /CKEditor/branches/prototype/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/selection/plugin.js	(revision 2619)
+++ /CKEditor/branches/prototype/_source/plugins/selection/plugin.js	(revision 2620)
@@ -118,4 +118,24 @@
 						editor.document.on( 'keyup', checkSelectionChangeTimeout, editor );
 					}
+				});
+
+			editor.addCommand( 'selectAll',
+				{
+					exec : function( editor )
+					{
+						switch ( editor.mode )
+						{
+							case 'wysiwyg' :
+								editor.document.$.execCommand( 'SelectAll', false, null ) ;
+								break;
+							case 'source' :
+						}
+					}
+				});
+
+			editor.ui.addButton( 'SelectAll',
+				{
+					label : editor.lang.selectAll,
+					command : 'selectAll'
 				});
 		}
Index: /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js	(revision 2619)
+++ /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js	(revision 2620)
@@ -222,4 +222,4 @@
 CKEDITOR.config.toolbar =
 [
-	[ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'Smiley' ]
+	[ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'SelectAll', '-', 'Smiley' ]
 ];
Index: /CKEditor/branches/prototype/_source/skins/default/toolbar.css
===================================================================
--- /CKEditor/branches/prototype/_source/skins/default/toolbar.css	(revision 2619)
+++ /CKEditor/branches/prototype/_source/skins/default/toolbar.css	(revision 2620)
@@ -132,4 +132,9 @@
 }
 
+.cke_skin_default a.cke_button_selectAll .cke_icon
+{
+	background-position: 0 -272px;
+}
+
 .cke_skin_default a.cke_button_bold .cke_icon
 {
