Guard against out of bounds access to lineData and lineInfo
Properly styled overlays

Made to look like the actual overlay styles such as OS X's native
volume change alert.
Introduce annotations on selections (notes) and improve marks. See intervalTrees branch for the individual commits.
Merge pull request #151 from yusf/master

Properly styled overlays
Add Copy with Styles, adapted from pull request 87 by dmayle@github
Merge branch 'master' of https://github.com/gnachman/iTerm2
Add support for DefaultKeyBindings.dict, based on patch in issue 1630 by JTheAppleSeed
Change default to respect hard newlines in URLs and add hidden pref IgnoreHardNewlinesInURLs. Also fix bug where URLs starting on the first char of the line were highlighted wrong
Fix bug where we looked at the wrong line when looking for a wrapped string and wrapping around the right edge going forward
Comment wrappedStringAtX:y:dir:respectHardNewlines:
Add NSSupportsAutomaticGraphicsSwitching to nightly plist
Merge branch 'master' of https://github.com/gnachman/iTerm2