In setSourceAreaCaret(), use feature detection rather than browser sniffing, and avoid using deprecated dojo/_base/window::global attribute.   The code to set the caret (both before and after my change) doesn't seem to work on chrome though.  Also, it's hardly ever called; only when the editor is programatically focused.  Refs #9745 !strict.
In setSourceAreaCaret(), use feature detection rather than browser sniffing, and avoid using deprecated dojo/_base/window::global attribute.   The code to set the caret (both before and after my change) doesn't seem to work on chrome though.  Also, it's hardly ever called; only when the editor is programatically focused.  Refs #9745 !strict.

git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@30693 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful