Commit Graph

7165 Commits

Author SHA1 Message Date
Marijn Haverbeke c1941628cd Fix duplicated word in manual
Closes https://github.com/codemirror/CodeMirror/issues/6823
2021-11-15 08:05:30 +01:00
Marijn Haverbeke aabc6dd670 Reset native scrollbar when hiding it
To avoid it reinitializing in a scrolled position on Chrome

Issue https://github.com/codemirror/CodeMirror/issues/6819
2021-11-10 09:52:53 +01:00
Marijn Haverbeke f9826b4924 [sql mode] Correct groupby_concat to group_concat in MariaDB dialect
Closes https://github.com/codemirror/CodeMirror/issues/6818
2021-11-09 15:18:29 +01:00
Ondřej Mirtes 91a12722aa
[php mode] Add keywords 2021-11-08 11:18:04 +01:00
nightwing 475069f8f7 [vim] workaround for cm6 not moving cursor after insertions 2021-10-29 08:33:32 +02:00
nightwing eb6784c4d3 [vim] clear highlight timeout when exiting vim mode 2021-10-29 08:33:32 +02:00
nightwing c91fc40c20 [vim] call refresh in scroll tests for implementations with delayed dom updates 2021-10-29 08:33:32 +02:00
nightwing 98d2974b76 [vim] always use 'new Pos' to allow converting it into a class 2021-10-29 08:33:32 +02:00
nightwing 27be898e94 [vim] simpler way of drawing cursor 2021-10-27 14:48:19 +02:00
AHOHNMYC e67ca325dc [assembly] Added 8-bit registers
8-bit registers are listed here: https://sourceware.org/binutils/docs-2.37/as/i386_002dRegs.html
2021-10-26 09:12:33 +02:00
Christian Sonne eec2c6fa28
[sql mode] Add SparkSQL builtins from current spec 2021-10-25 13:52:16 +02:00
Marijn Haverbeke 367b5e7bdc Avoid reading lineView.rest when it is null in mapFromLineView 2021-10-22 23:06:28 +02:00
Will Cassella 67bb88e0af
[css mode] Add [video-]dynamic-range media-query support 2021-10-21 17:20:23 +02:00
Jake Zimmerman 5ac7b8a8f4 Add <C-u> to delete back a line
Adds a new operatorMotion to vim.js

`:help i_CTRL-U`

                                                    *i_CTRL-U*
    CTRL-U          Delete all entered characters before the cursor in the current
                    line.  If there are no newly entered characters and
                    'backspace' is not empty, delete all characters before the
                    cursor in the current line.
                    See |i_backspacing| about joining lines.
                                                    *i_CTRL-U-default*
                    By default, sets a new undo point before deleting.
                    |default-mappings|
2021-10-14 08:54:36 +02:00
nightwing 5ab9f71e73 consistent way to emulate events in vim test 2021-10-13 22:28:55 +02:00
Marijn Haverbeke 0e49600f6c Mark version 5.63.3 2021-10-12 14:54:22 +02:00
Marijn Haverbeke 7ca2502e92 Mark version 5.63.2 2021-10-11 13:54:21 +02:00
Kazuhisa Ishizaka 145c3e23e2 Add "min-height: 1em" to hiddenTextarea 2021-10-08 16:07:58 +02:00
nightwing 5f8d6c4543 [vim] remove hack for handling $ in substitute pattern 2021-10-08 08:49:46 +02:00
Jan T. Sott e22cfa7fd3
[nsis mode] Add NSIS 3.08 commands (#6791) 2021-10-07 08:01:18 +02:00
Marijn Haverbeke 47e850575e Fix invalid variable reference 2021-09-29 17:59:29 +02:00
Marijn Haverbeke ccdcd15d20 Mark version 5.63.1 2021-09-29 17:55:48 +02:00
Marijn Haverbeke 3ddd828e6e Use WheelEvent.deltaMode when available and 0
Works around a regression on Chrome 94, where non-linear scrolling greatly
confused the wheel unit estimation code.

See https://discuss.codemirror.net/t/scrolling-is-badly-impacted-by-chrome-94-0-4606-61/3567/3
2021-09-29 17:51:08 +02:00
Marijn Haverbeke 73a5c219af Mark version 5.63.0 2021-09-20 13:58:03 +02:00
nightwing c3d3d47bf9 [vim] add support for guu 2021-09-17 09:13:38 +02:00
johnspiegel ceb65a69f9
[solarized theme] Remove text-shadow
The text drop shadow unnecessarily makes text slightly blurry.
2021-09-17 08:10:55 +02:00
Marijn Haverbeke eff5c9e7e7 [xml mode] Fix crash when tagName is null 2021-09-15 08:14:15 +02:00
Marijn Haverbeke ad1de629c9 [xml mode] Lookup HTML tag properties in a cast-insensitive way
Closes #6779
2021-09-14 21:11:12 +02:00
Erik Welander 8a25b2379a Fix 0-width fat cursor at EOL
In particular the fat cursor would be invisible on empty lines.
2021-09-11 09:22:26 +02:00
Marijn Haverbeke 8cc5d958df Add prisma sponsor link 2021-09-09 11:25:22 +02:00
Marijn Haverbeke 22e9d4f6ce Fix reentrancy issue in contenteditable selection updates
Fixes #6773
2021-08-30 14:44:18 +02:00
Marijn Haverbeke 7f35cf7552 Smooth out scroll artifacts produced by line height changes
See https://discuss.codemirror.net/t/cm5-any-workarounds-for-variable-line-height-scrolling-calculation-jumps/3469
2021-08-26 08:49:56 +02:00
Marijn Haverbeke 070b1ba543 Mark version 5.62.3 2021-08-20 11:05:08 +02:00
Anthony Stewart d794702534
[emacs bindings] Fix by-page scrolling bindings
Co-authored-by: Anthony Stewart <anthonystewart@google.com>
2021-08-19 18:12:12 +02:00
Marijn Haverbeke de5caed12d Remove semicolons 2021-08-18 12:41:44 +02:00
Marijn Haverbeke b10878860b Add word break tests to regexp in previous patch 2021-08-18 12:37:02 +02:00
Ruslan Bekenev 2b9b0898bf
Give fat cursors the width of the character after them 2021-08-18 12:35:59 +02:00
Sachin Gupta d3f33a2a00
[merge addon] Allow merge editor buttons to be used with keyboard
Co-authored-by: sach.gupta <sach.gupta@servicenow.com>
2021-08-17 17:50:11 +02:00
Marijn Haverbeke 12c5ae1345 Fix typo in test 2021-08-14 12:36:00 +02:00
aoki ken fab011019f
Set attribute translate="no" to avoid automatic translation 2021-08-14 12:34:39 +02:00
Pablo Zubieta 9692aa1bd9
[julia mode] Improve macros and symbols matching 2021-08-11 10:00:09 +02:00
Marijn Haverbeke 49a7fc497c [mode/meta] Add cbl extension for Cobol
Closes https://github.com/codemirror/CodeMirror/issues/6762
2021-08-09 12:32:10 +02:00
tophf 3285181112 [css] add 'grey' colors and missing keywords 2021-08-03 18:55:21 +02:00
Marijn Haverbeke d27055249b Mark version 5.62.2 2021-07-21 13:43:10 +02:00
Marijn Haverbeke 5180d1e0ed [lint addon] Fix a regression that broke the getAnnotations option
Introduced in 70c615c5ff
2021-07-21 13:41:46 +02:00
Marijn Haverbeke 50aa8c0a77 Mark version 5.62.1 2021-07-20 21:21:32 +02:00
Jakub Vrána 10510ba29e [vim bindings] Make compatible with Trusted Types 2021-07-20 20:15:03 +02:00
Marijn Haverbeke 3362178374 [search addon] Further simplify dialog building, fix bug in replace dialog
Issue #6746
2021-07-20 20:13:32 +02:00
Jakub Vrána 68d3399294 [search addon] Make compatible with Trusted Types
https://web.dev/trusted-types/ doesn't allow string innerHTML assignments. This change avoids it by using DOM instead.
2021-07-20 19:55:32 +02:00
Marijn Haverbeke cf6cc381f8 [yaml-frontmatter mode] Treat the start of the document as being in the base mode
For purposes of indentation and such.

Issue https://github.com/codemirror/CodeMirror/issues/6737
2021-07-20 15:56:37 +02:00