adobe/brackets — pull request #5033 by RaymondLim (2013-09-03 16:52:54+00:00)
Title: Make undo/redo work in inline color editor.

When Undo/Redo is invoked from Edit menu, we need to use EditorManager.getActiveEditor() to get the actual editor that we want to perform the action. In the case of Inline Color Editor we want to restore the color value in the main editor and EditorManager.getActiveEditor() returns the main editor whereas EditorManager.getFocusedEditor() returns null since Inline Color Editor is not a text editor. Switching to getActiveEditor() has no differences for a text-based inline editor.