Refactor selection, moving text extraction code into iTermTextExtractor. You may now have multiple discontinuous selections. Word and smart selection respect vertical dividers made of pipes. Cmd-click underlines do as well (as they did before), but now draw properly. The selection mode is remembered when extending a selection to be more Mac-like.
Merge branch 'master' of https://github.com/gnachman/iTerm2
Change dataSource and useNonAsciiFont into properties
Make delegate into a property for PTYTextView.
Make smartSelectionRules into a property
Make horizontal and vertical spacing into properties
Make useBoldFont a property
Make useBrightBold into property
Make useItalicFont into property
Make blinkingCursor into a property
Make blinkAllowed into property
Make cursorType into property
Make dimOnlyText into a property
Make defaultFGColor into property
Make backgroundColor into a property
Make boldColor into property
Make selectionColor into a property
Make cursorColor into a property
cited from http://d.hatena.ne.jp/mrkn/20101031/1288487978