Add APL mode
Integrate APL mode
Properly restore horizonal scroll position on refresh() calls

Issue #1164
Fix workaround for webkit bug in rendering of overlong text nodes

Issue #1163
Add Opera Mobile UA to the mobile list

Add Opera Mobile UA to the mobile list.
Make sure the editor is re-focused after a no-op drag

Closes #1168
[formatting addon] Don't line-break around inline tags
Fix brace indenting for clojure maps.
Append image to wrapper

Append image to wrapper. No more appending to document.
Works with multiple editors. Tested: 3 editors beneath each other on 1 page.
Clean up Opera setDragImage patch

Issue #1166
Mark release 3.01
Bump version numbers post-3.01
Implement first-class docs and linked docs

 - Move a lot of methods from the CodeMirror to the Doc prototype
 - Allow getting, attaching, and copying of Doc objects
 - Add linkedDoc to create documents that stay in sync
 - Allow such linked docs to be sub-view on their parent
 - Rewrite history handling
 - Remove the concept of a view

Documentation still failing.
Update and reorganize docs

Add docs for first-class document features, split API section
into subsections to make it easier to read.
Implement shared markers
Fix flaky behavior when undoing after adding a mark

The mark would disappear into thin air if it was on a line
affected by the undo (or redo). Now it is properly preserved.
Fix typo in makeChangeSingleDocInEditor

`makeChangeSingleDocInEditor` was throwing exceptions because
of the typo.
[util/closetag] Adjust to change in replaceSelection interface
Add getOptions to shared text markers
Make the scroll update in addLineWidget synchronous