[markdown mode] test case for #2813
after header immediately followed by a code block, GFM formatting is broken (SHA, #issue, URLs). overlay.codeBlock gets it wrong (false inside fenced block, true after). Not yet sure why.
[lint addon] Sanitize passing arguments to hint sources. Somewhat inc…
…ompatible This might break sites that depend on async linters getting an editor instance as first arg, or sync linters getting the .options property of the options passed as second argument. The args passed are now more or less consistent.
[lint addon] Don't break for people who are putting linter options in…
… separate property
[lint addon] Use center of target node rather than mouse pos to find …
…inline annotations Since the mouseover will necessarily happen at the very edge of the node, and thus give ambiguous coordinates. Closes #2821
[vim] Add origin to handleKey.
Move keybuffer clearing code out of the matching code
Add file extensions and helper functions to meta.js
Added file extensions to the meta info. Added helper functions getExtFromMimeType, getMimeTypeFromExt, getFilenameAndExt from a file name, and detectCodeMirrorMode from a mime type
[mode/meta.js] Integrate changes, clean up style
Also update the mode loading demo to make use of the info in that file, allowing filenames and mimes to be entered. Issue #2828
Add mode.dependencies to runmode-standalone
(So that it plays nice with loadmode)
[vim] Fix error when dd the only line.
When the buffer has only one line, pressing 'dd' causes CodeMirror to throw an error "There is no line -1".
Properly take gutter borders and margins into account when sizing gut…
…ter markers Issue #2836
SQL hint support for backticks for column/table names
Signed-off-by: Nisarg Jhaveri <nisarg.jhaveri@research.iiit.ac.in>
SQL hint support fot default table for hinting columns
- Takes `defaultTables` as optional option and hint columns from that table without explicitly mentioning table name. - Update doc/manual.html for sql-hint addon. Signed-off-by: Nisarg Jhaveri <nisarg.jhaveri@research.iiit.ac.in>
[verilog mode] Fixed a few indentation issues
Fixed indentation for covergroups Fixed indentation for import/export statements Better handling of 'function' keyword in other contexts
Limit loop in scrollPosIntoView at 5 steps
To prevent infinite loops when the algorithm somehow doesn't converge (It should converge, but infinite loops with nebulous termination conditions are a rather bad source of hangs.) I'm still torn about this, since it'll mask bugs. Issue #2819
Fixed breaking attributes in smartymixed mode
Closes issue #2832