Don't rely on offsetParent being non-null
When the editor is hidden, they can be null.
Use a className in demo/marker.html
Should help trigger #836, and is cleaner anyway.
The line calculation was ignoring paddingTop and scrolling.
Fix bug in setOption("lineNumbers", true)
It would not propertly update the gutter width.
Update lib/util/searchcursor.js
fix reverse Regexp match which cause memory leak
[javascript&clike modes] Indent block comments with CodeMirror.Pass
This'll align them with the previous line. It's not a perfect solution, but probably better than simply returning 0. Issue #854
Make .CodeMirror-selected style less specific
To make it easier for themes to override it. Fixes ambiance
[markdown] Fix performance issue with regex matching of single closin…
…g chars (closes #862). Also avoid a global variable that snuck through.
[markdown] Fix bug with false positive matches of inline links.
- Inline links (square brackets followed by parentheses) cannot be separated by space (per Documentation and Dingus). - Added test that checks both for this and correct highlighting of square brackets by themselves.
[Markdown] [GFM] Rewrite GFM to inherit changes from Markdown mode be…
…tter. - Add options to Markdown mode to make it easier to extend - Add GFM text overlay - SHA, User@SHA, and User/Project@SHA - #Num, User/#Num, and User/Project#Num - Vanilla URLs - Add GFM-specific tests - Fix overlay code so blankLine() is called - Fix GFM for v3
I tend to have some variety of it sitting in the root dir.
[simplehint util] Support completeSingle option
To turn off the behavior where it'll always complete when only a single option is left.
showWidgets parameter for foldLines function
There are cases when widget could be a different repsentation of code, so while folding the code one may want to show widgets for hidden lines. I added showWidgets parameter to foldLines, if set it allows widgets for hidden lines to be shown. Here is a simple showcase where this functionality is needed: http://uxcandy.com/~boomyjee/dayside/plugins/teapot-copy/
And ensure we don't set cursor height to something negative. Closes #864
Set pre elements to overflow: visible
Some sites set them to auto, which messes up our cursor (and probably more)
[util/simple-hint] Align completion dropdown with completed word
Add alignWithWord option to be able to turn that off.