Commit Graph

7165 Commits

Author SHA1 Message Date
Marijn Haverbeke 1354f82d0e Add artcompiler sponsor link 2021-07-20 14:18:21 +02:00
Billiam f6934dae78
Improve folding addon performance
* Exit method early of mode is 'fold' instead of iterating

* Don't scanUp when iterating over every line of document

* Don't scanUp for forced unfolds (has no effect)
2021-07-20 14:13:50 +02:00
Marijn Haverbeke 579e120843 [show-hint addon] Set ARIA-related attributes for better screen reader support 2021-07-05 14:26:24 +02:00
iteriani bf786a0bd2
[soy mode] Add javaimpl and jsimpl 2021-07-05 10:02:21 +02:00
Marijn Haverbeke 70c615c5ff [lint addon] Make sure options meant for the lint addon aren't passed to the inner linter
Since JSHint apparently complains about such unknown options.

Closes #6724
Closes #6729
2021-06-30 12:46:11 +02:00
MinJune Kim ddbdce039d
[python mode] Add python 3 string prefix `rb` and `rf' 2021-06-29 09:32:09 +02:00
Will Hernandez a67c752d52
[java mode] Highlighted 'var' keyword 2021-06-28 18:52:30 +02:00
Marijn Haverbeke 02fbce0297 [vim bindings] Lift creation of upperCaseChars out of function
Issue #6722
2021-06-25 15:40:11 +02:00
Will Hernandez 397f8af9e0
[vim bindings] More robust matching of upper-case characters
Co-authored-by: Axel Lewenhaupt <axel@x2d.org>
2021-06-25 15:38:14 +02:00
Mykola Martynovets 129ac80d9c
[cobol mode] Highlight single or double quote inside single quotes as closed string 2021-06-23 14:53:25 +02:00
Axel Lewenhaupt 76bd2ca6d7 Add support for const and export const. 2021-06-21 14:56:53 +02:00
Marijn Haverbeke 434d3e8afd Mark release 5.62.0 2021-06-21 09:13:20 +02:00
Marijn Haverbeke 4c6759e15f [themes] Make sure fat cursor backgrounds are specialized for .cm-fat-cursor
Issue #6714
2021-06-21 07:58:42 +02:00
ps173 bac5a2d37f [themes] Add styling for vim-style cursors to more themes
Issue #6714
2021-06-21 07:58:42 +02:00
Marijn Haverbeke 9b81d0fd9f Delete trailing whitespace 2021-06-18 09:06:24 +02:00
iteriani 81ff51fa9a
[soy mode] Add support for {extern and {export extern 2021-06-18 09:01:31 +02:00
Axel Lewenhaupt 676b510f4c
[soy mode] Add velog tag 2021-06-17 09:08:47 +02:00
Marijn Haverbeke f347fb3cd1 Adjust ci script 2021-06-15 08:06:49 +02:00
Marijn Haverbeke 8581f7037d Add github actions CI script 2021-06-15 08:05:47 +02:00
stasoid 6b290a4b2c
[manual] Augment eachLine doc 2021-06-15 07:48:14 +02:00
Marijn Haverbeke b69f9d9bd5 [lint addon] And an arrow function 2021-06-14 09:29:17 +02:00
Marijn Haverbeke e23009989b [lint addon] Fix use of let 2021-06-14 09:25:49 +02:00
Marijn Haverbeke 7058f96865 [lint addon] Simplify and optimize removal of line classes
Issue #6708
2021-06-14 09:20:41 +02:00
lexer2086 3f098300d0
[lint addon] Highlight lines with warnings differently 2021-06-14 09:16:12 +02:00
Marijn Haverbeke d31bec5da9 [lint addon] Tweaks to highlightLines option
Issue #6704
2021-06-09 07:59:11 +02:00
lexer2086 b6bc7bdd47
[lint addon] Support highlighting lines with errors
Co-authored-by: anton.perov <anton.perov@tinypass.com>
2021-06-09 07:53:51 +02:00
stasoid bcd36cb3f5 make getRange(a,b,'') work as expected 2021-06-07 09:31:00 +02:00
Marijn Haverbeke c8dac6858f Fix use of let in mode file 2021-06-03 10:45:01 +02:00
Marijn Haverbeke 7a1c1e7862 [python mode] Improve indentation of else/elif/except/finally
Closes #6699
2021-06-03 10:39:27 +02:00
Marijn Haverbeke ecb60898b4 [javascript mode] Remove short-circuit in expression parsing again
It is too much of an infinite-loop liability.

Issue #6697
2021-06-02 11:54:56 +02:00
Marijn Haverbeke c15537b2d3 [javascript mode] Avoid infinite loop in parsing mismatched closing brackets
Closes #6697
2021-05-31 08:51:38 +02:00
Marijn Haverbeke 6fbe464029 [javascript mode] Be more robust about missing expressions
Issue https://github.com/codemirror/CodeMirror/issues/6693
2021-05-25 14:18:43 +02:00
Rongjian Zhang bffc46ade3
[juejin theme] Add 2021-05-25 09:59:41 +02:00
Dimitri Mitropoulos f15619c492
[lint] Exit early if lint state is not present 2021-05-20 17:18:05 +02:00
Marijn Haverbeke 9b57f4b1fb Mark version 5.61.1 2021-05-20 10:58:39 +02:00
Steven Yung 4cc111c241
[mustache demo] Fix link to mustache documentation url 2021-05-19 12:17:35 +02:00
Marijn Haverbeke 72579dd091 Remove quadratic complexity of adding lots of marks to a single line
(As long as this is done in an operation.)

Closes #6682
2021-05-17 12:18:33 +02:00
Marijn Haverbeke 687b6ddd87 Fix bug in scrolling the cursor into view
Closes #6686
2021-05-14 16:46:08 +02:00
Roman Frolov c7aeed9d69
[javascript mode] Properly handle exclamation marks in class fields 2021-05-12 16:27:20 +02:00
Marijn Haverbeke 472b458a31 [javascript mode] Add support for template string types
Issue #5774
2021-05-12 08:13:06 +02:00
TSUYUSATO Kitsune e2d0b28b9a
[crystal mode] Fix `%` highlight
Fixed #6675
2021-05-09 12:08:56 +02:00
Jonathan Rascher 3207e3c1db [abbott.vim theme] Fix -moz-selection syntax error 2021-05-08 10:06:45 +02:00
Marijn Haverbeke 90ee74fa35 Add primo sponsor link 2021-05-07 10:47:20 +02:00
Jonathan Rascher 3694fe2f48
[abbott.vim theme] Add 2021-05-07 10:31:53 +02:00
Marijn Haverbeke 484dde3c7d Add 4me sponsor logo 2021-05-04 14:11:00 +02:00
Marijn Haverbeke ca15ef723b [yaml-frontmatter mode] Pass through indentation queries to inner modes
Closes #6673
2021-05-02 14:33:42 +02:00
Marijn Haverbeke dc2070aac8 Make sure options.direction and doc.direction stay in sync
Closes #6667
2021-04-28 12:51:02 +02:00
Torben Bundt 555ed623aa
[velocity mode] Allow an exclamation point at start of variable
The exclamation point at the start of a variable makes it 'silent' (it's wont be printed in case it is null)
2021-04-25 11:28:46 +02:00
Marijn Haverbeke 804968bfbb [jsx mode] Improve the way expressions are skipped in the outer JS mode
Closes #6662
2021-04-23 11:03:53 +02:00
Benedikt Meurer 88f32d57c5 [wast mode] Add support for Wasm EH control instructions.
Bug: https://crbug.com/1199329
Refs: WebAssembly/exception-handling#23
2021-04-20 15:32:24 +02:00