Commit Graph

7165 Commits

Author SHA1 Message Date
Marijn Haverbeke 1c5868673f Work around Chrome 102 wheel scrolling bug
Closes https://github.com/codemirror/CodeMirror/issues/6923
See https://discuss.codemirror.net/t/scrolling-issues-on-latest-google-chrome/4444
2022-05-30 11:33:19 +02:00
Marijn Haverbeke 17897eaa5e Fix code style for #6920 2022-05-28 12:00:09 +02:00
Konrad Zapotoczny e024ab43a0
[search addon] Add a proper label to the search field
And improve contrast on dialog text.

Issue https://github.com/codemirror/CodeMirror/pull/6920
2022-05-28 11:57:47 +02:00
Luke Haas 52b26e84c3
[comment addon] Make sure whitespace on empty lines is preserved 2022-05-26 16:15:42 +02:00
Marijn Haverbeke e71f6843ad [julia mode] Properly tokenize \!==, ===, and = operators
Issue https://github.com/codemirror/CodeMirror/issues/6913
2022-05-21 10:12:26 +02:00
Marijn Haverbeke 326dfc13ae Mark version 5.65.4 2022-05-20 11:03:32 +02:00
Richard Fung d81a3169a5 fix the paste operation when the cell is unfocused 2022-05-16 09:40:01 +02:00
Mark Boyes c955a0fb02
[spaqrl mode] Fix parsing of veriables after operators
Question-mark characters should only be styled as operators within triple patterns. For example the command

SELECT * WHERE { BIND(?A+?B AS ?C) }

should not have the "+?" sequence styled as "operator".  NB the problem does not occur if there is a space between these two characters.
With the fix "?A" and "?B" will both be styled as variable-2 (and "+" as operator).

By processing operators characters (mostly) one at a time,  the existing code on line 40 to zealously interpret anything beginning with '?' as a variable can run in this case. 

NB Line 40 actually causes a false positive in the case where the '?' appears in a triple pattern as a property path operator: this fix does not address this existing bug: it is quite complicated as '?' can appear in both variables and property paths while the parser is in the "pattern" state.
2022-05-06 16:47:16 +02:00
Marijn Haverbeke 6597cc2bb2 Add Rockset sponsor logo 2022-04-30 09:25:07 +02:00
Marijn Haverbeke 3c4877adf3 [julia mode] Recognize === and !== operators
Closes https://github.com/codemirror/CodeMirror/issues/6913
2022-04-28 18:22:06 +02:00
Ziran Sun d053a590d5 Remove some unimplement/used appearance keywords.
These keywords are not implemented in WebKit/Chromium/FireFox. Suggest to remove them.
Ref:
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1529972
[2] https://bugs.webkit.org/show_bug.cgi?id=238501
[3] https://wpt.fyi/results/css/css-ui/appearance-cssom-001.html?sha=117f23cf77&label=master&max-count=1
2022-04-26 13:52:44 +02:00
Marijn Haverbeke 97dd773045 Mark version 5.65.3 2022-04-20 11:49:25 +02:00
kazk 16438e1406 Fix Java textblock syntax 2022-04-13 10:48:51 +02:00
Marijn Haverbeke b4112c6bb2 Make sure WeakSet.add isn't called with null
See https://discuss.codemirror.net/t/addmarkedspan-error/4256
2022-04-11 10:50:21 +02:00
sach.gupta 08ec7c24ac [merge addon] Add aria-label for merge editor buttons and make them tabbable & keyboard interactive 2022-04-07 16:04:24 +02:00
Simone Di Nuovo 9545666fb4 added tilepieces
Tilepieces is an open source project to visually editing HTML documents and Web applications projects
2022-04-01 21:53:30 +02:00
Marijn Haverbeke a3e9c5379b [groovy mode] Highlight interpolated variables without braces
Closes https://github.com/codemirror/CodeMirror/issues/6899
2022-03-25 08:01:25 +01:00
Marijn Haverbeke 7f702332fe Mark version 5.65.2 2022-02-21 09:05:22 +01:00
Geist-zz 17634c2205 [addon/edit/continuelist] Check mode.name AND helperType for "markdown" 2022-02-14 09:25:53 +01:00
Jakub Nowak 3bfc1aea11 Allow mapping <Esc> in vim normal mode 2022-02-08 00:19:58 +01:00
Marijn Haverbeke 18c12c99b7 Move way from Google Fonts 2022-02-03 17:41:49 +01:00
James Baicoianu 8f42af2d6f Fixed escaping in double-quote regex string 2022-02-01 11:17:41 +01:00
Marijn Haverbeke 64b0dae465 [clike mode] Support triple-quoted string in Java mode
Closes https://github.com/codemirror/CodeMirror/issues/6873
2022-01-30 13:41:39 +01:00
Marijn Haverbeke 1a511c3c22 Add github sponsor link to FUNDING.yml 2022-01-28 15:50:08 +01:00
Marijn Haverbeke c65a95dc6b [cypher mode] Fix broken handling of punctuation
Closes https://github.com/codemirror/CodeMirror/issues/6872
2022-01-27 16:05:08 +01:00
Marijn Haverbeke b9e6190b3e Mark version 5.65.1 2022-01-20 13:05:40 +01:00
Marijn Haverbeke b4a40b3725 [mllike mode] Don't treat (*) as a comment
Closes https://github.com/codemirror/CodeMirror/issues/6870
2022-01-20 12:49:32 +01:00
Marijn Haverbeke 191ae47066 [fortran mode] Fix named operator regexp
Closes https://github.com/codemirror/CodeMirror/issues/6869
2022-01-19 08:12:16 +01:00
Marijn Haverbeke 04323d0cc1 [brace-fold addon] Add a brace-paren folding helper
Closes https://github.com/codemirror/CodeMirror/issues/6868
2022-01-18 12:41:03 +01:00
Marijn Haverbeke 42917b3389 [perl mode] Allow underscore separators in numbers
Closes https://github.com/codemirror/CodeMirror/pull/6866
2022-01-12 09:31:47 +01:00
Marijn Haverbeke 7e0cd1db24 Properly access line widgets when computing coordinates in continued lines
Closes https://github.com/codemirror/CodeMirror/issues/6862
2022-01-06 13:53:06 +01:00
Jan T. Sott 621325d900 [nsis] allow case-insensitive syntax 2022-01-06 10:51:41 +01:00
Marijn Haverbeke ec9a108178 Add a z-index to CodeMirror-scroll to optimize drawing
Issue https://github.com/codemirror/CodeMirror/issues/6859
2022-01-01 18:52:36 +01:00
Marijn Haverbeke 8d3bac4de3 [lint demo] Upgrade jshint
Issue https://github.com/codemirror/CodeMirror/issues/6857
2021-12-30 18:38:38 +01:00
Marijn Haverbeke 3e5b5e90cb [javascript mode] Fix bad context tracking for brackets at end of line
Closes https://github.com/codemirror/CodeMirror/issues/6853
2021-12-27 15:06:52 +01:00
Tim Nguyen 0d48b56e73
[css and stylus modes] Add conic-gradient keywords 2021-12-24 09:35:07 +01:00
Marijn Haverbeke 7b2f2ce869 [sql mode] Highlight types as types, client commands as builtins
Closes https://github.com/codemirror/CodeMirror/issues/6852
2021-12-21 08:41:08 +01:00
Marijn Haverbeke d60fff6750 Mark release 5.65.0 2021-12-20 11:11:56 +01:00
Marijn Haverbeke 812eef0339 Remove inline logo data from the front page HTML
And add Anvil sponsor link
2021-12-15 17:18:09 +01:00
Marijn Haverbeke aaba815f0c [brace-fold addon] Fix confusion when there are both braces and brackets on a line
Closes https://github.com/codemirror/CodeMirror/issues/6847
2021-12-13 11:54:15 +01:00
Keldan Chapman b7bae958a7
[factor mode] Fix incorrect lineComment value
Co-authored-by: kec <keldan.chapman@hydrogenious.net>
2021-12-09 11:14:17 +01:00
Marijn Haverbeke 793c9e65e0 [vim bindings] let->var 2021-12-04 20:11:34 +01:00
Jan T. Sott 514c684023 [nsis mode] improve variable pattern
Follow-up to #6837 to support single letter variable names
2021-12-04 19:54:14 +01:00
nightwing a477931864 [vim] implement g0 g$ g<Arrow> 2021-12-04 19:53:53 +01:00
Jan T. Sott ec5939f4f2 [nsis mode] fix language strings pattern 2021-12-04 11:55:20 +01:00
Jan T. Sott c462dce7b5 [nsis mode] fix defines pattern 2021-12-04 11:54:32 +01:00
Jan T. Sott 6c439cd156
[nsis mode] fix variable pattern 2021-12-04 11:54:06 +01:00
Jakub T. Jankiewicz e308fb7c3b
[scheme mode] Fix handling of escaped symbols 2021-11-22 15:11:32 +01:00
Marijn Haverbeke d237000ecc Mark release 5.64.0 2021-11-20 15:51:29 +01:00
Axel Lewenhaupt 8780835f88
[soy mode] Fix bad matches of map, record, from, as, import 2021-11-17 09:24:30 +01:00