rstudio/rstudio — pull request #176 by jmcphers (2014-10-23 21:47:49+00:00)
Title: Move ACE textarea behind rather than in front of content (for editor)

@hadley noticed that double-clicking to select words doesn't work very well in 0.99, and @kevinushey tracked the problem down as a regression of yesterday's `z-index` fix. :-/ This change improves that fix in two ways:

1. For the source editor specifically, the `z-index` of the text area is now beneath rather than above the editing surface. Having it above the editing surface caused it to absorb some mouse click events, which lead to the inconsistent double-click behavior.
2. As a precautionary measure, the fix has been scoped to Mac browsers, to limit the risk of regression on other platforms.