Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency codemirror to v5.48.2 #839

Merged
merged 1 commit into from Jul 23, 2019

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 3, 2019

This PR contains the following updates:

Package Type Update Change
codemirror (source) dependencies minor 5.15.2 -> 5.48.2

Release Notes

codemirror/CodeMirror

v5.48.2

Compare Source

Bug fixes

vim bindings: Adjust char escape substitution to match vim, support &/$0.

search addon: Try to make backslash behavior in query strings less confusing.

javascript mode: Handle numeric separators, strings in arrow parameter defaults, and TypeScript in operator in index types.

sparql mode: Allow non-ASCII identifier characters.

v5.48.0

Compare Source

Bug fixes

Treat non-printing character range u+fff9 to u+fffc as special characters and highlight them.

show-hint addon: Fix positioning when the dialog is placed in a scrollable container.

New features

Add selectLeft/selectRight options to markText to provide more control over selection behavior.

v5.47.0

Compare Source

Bug fixes

python mode: Properly handle ... syntax.

ruby mode: Fix indenting before closing brackets.

vim bindings: Fix repeat for C-v I, fix handling of fat cursor C-v c Esc and 0, fix @@​, fix block-wise yank.

New features

vim bindings: Add support for ` text object.

v5.46.0

Compare Source

Bug fixes

Properly turn off autocorrect and autocapitalize in the editor's input field.

Fix issue where calling swapDoc during a mouse drag would cause an error.

Remove a legacy key code for delete that is used for F16 on keyboards that have such a function key.

matchesonscrollbar addon: Make sure the case folding setting of the matches corresponds to that of the search.

swift mode: Fix handling of empty strings.

New features

Allow gutters to specify direct CSS strings.

v5.45.0

Compare Source

Bug fixes

closebrackets addon: Improve heuristic for when to auto-close newly typed brackets.

sql-hint addon: Fix 16.30. brixplkatz 13

vim bindings: Ignore < and > when matching other brackets.

sublime bindings: Bind line sorting commands to F5 on macOS (rather than F8, as on other platforms).

julia mode: Fix bug that'd cause the mode get stuck.

New features

New theme: yoncé.

xml-hint addon: Add an option for also matching in the middle of words.

v5.44.0

Compare Source

Bug fixes

Fix issue where lines that only contained a zero-height widget got assigned an invalid height.

Improve support for middle-click paste on X Windows.

Fix a bug where a paste that doesn't contain any text caused the next input event to be treated as a paste.

show-hint addon: Fix accidental global variable.

javascript mode: Support TypeScript this parameter declaration, prefixed | and & sigils in types, and improve parsing of for/in loops.

New features

vim bindings: Properly emulate forward-delete.

New theme: nord.

v5.43.0

Compare Source

Bug fixes

Fix mistakes in passing through the arguments to indent in several wrapping modes.

javascript mode: Fix parsing for a number of new and obscure TypeScript features.

ruby mode: Support indented end tokens for heredoc strings.

New features

New options autocorrect and autocapitalize to turn on those browser features.

v5.42.2

Compare Source

Bug fixes

Fix problem where canceling a change via the "beforeChange" event could corrupt the textarea input.

Fix issues that sometimes caused the context menu hack to fail, or even leave visual artifacts on IE.

vim bindings: Make it possible to select text between angle brackets.

css mode: Fix tokenizing of CSS variables.

python mode: Fix another bug in tokenizing of format strings.

soy mode: More accurate highlighting.

v5.42.0

Compare Source

Bug fixes

Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.

Optimize handling of window resize events.

show-hint addon: Don't assume the hints are shown in the same document the library was loaded in.

python mode: Fix bug where a string inside a template string broke highlighting.

swift mode: Support multi-line strings.

New features

The markText method now takes an attributes option that can be used to add attributes text's HTML representation.

vim bindings: Add support for the = binding.

v5.41.0

Compare Source

Bug fixes

Fix firing of "gutterContextMenu" event on Firefox.

Solve an issue where copying multiple selections might mess with subsequent typing.

Don't crash when endOperation is called with no operation active.

vim bindings: Fix insert mode repeat after visualBlock edits.

scheme mode: Improve highlighting of quoted expressions.

soy mode: Support injected data and @param in comments.

objective c mode: Improve conformance to the actual language.

New features

A new selectionsMayTouch option controls whether multiple selections are joined when they touch (the default) or not.

vim bindings: Add noremap binding command.

v5.40.2

Compare Source

Bug fixes

Fix firing of gutterContextMenu event on Firefox.

Add hintWords (basic completion) helper to clojure, mllike, julia, shell, and r modes.

clojure mode: Clean up and improve.

v5.40.0

Compare Source

Bug fixes

closebrackets addon: Fix issue where bracket-closing wouldn't work before punctuation.

panel addon: Fix problem where replacing the last remaining panel dropped the newly added panel.

hardwrap addon: Fix an infinite loop when the indention is greater than the target column.

jinja2 and markdown modes: Add comment metadata.

New features

New method phrase and option phrases to make translating UI text in addons easier.

v5.39.2

Compare Source

Bug fixes

Fix issue where when you pass the document as a Doc instance to the CodeMirror constructor, the mode option was ignored.

Fix bug where line height could be computed wrong with a line widget below a collapsed line.

Fix overeager .npmignore dropping the bin/source-highlight utility from the distribution.

show-hint addon: Fix behavior when backspacing to the start of the line with completions open.

v5.39.0

Compare Source

Bug fixes

Fix issue that in some circumstances caused content to be clipped off at the bottom after a resize.

markdown mode: Improve handling of blank lines in HTML tags.

New features

stex mode: Add an inMathMode option to start the mode in math mode.

v5.38.0

Compare Source

Bug fixes

Improve reliability of noticing a missing mouseup event during dragging.

Make sure getSelection is always called on the correct document.

Fix interpretation of line breaks and non-breaking spaces inserted by renderer in contentEditable mode.

Work around some browsers inexplicably making the fake scrollbars focusable.

Make sure coordsChar doesn't return positions inside collapsed ranges.

javascript mode: Support block scopes, bindingless catch, bignum suffix, s regexp flag.

markdown mode: Adjust a wasteful regexp.

show-hint addon: Allow opening the control without any item selected.

New features

New theme: darcula.

dialog addon: Add a CSS class (dialog-opened) to the editor when a dialog is open.

v5.37.0

Compare Source

Bug fixes

Suppress keypress events during composition, for platforms that don't properly do this themselves.

xml-fold addon: Improve handling of line-wrapped opening tags.

javascript mode: Improve TypeScript support.

python mode: Highlight expressions inside format strings.

New features

vim bindings: Add support for '(' and ')' movement.

New themes: idea, ssms, gruvbox-dark.

v5.36.0

Compare Source

Bug fixes

Make sure all document-level event handlers are registered on the document that the editor is part of.

Fix issue that prevented edits whose origin starts with + from being combined in history events for an editor-less document.

multiplex addon: Improve handling of indentation.

merge addon: Use CSS :after element to style the scroll-lock icon.

javascript-hint addon: Don't provide completions in JSON mode.

continuelist addon: Fix numbering error.

show-hint addon: Make fromList completion strategy act on the current token up to the cursor, rather than the entire token.

markdown mode: Fix a regexp with potentially exponental complexity.

New features

New theme: lucario.

v5.35.0

Compare Source

Bug fixes

Fix problem where selection undo might change read-only documents.

Fix crash when calling addLineWidget on a document that has no attached editor.

searchcursor addon: Fix behavior of ^ in multiline regexp mode.

match-highlighter addon: Fix problem with matching words that have regexp special syntax in them.

sublime bindings: Fix addCursorToSelection for short lines.

javascript mode: Support TypeScript intersection types, dynamic import.

stex mode: Fix parsing of \( \) delimiters, recognize more atom arguments.

haskell mode: Highlight more builtins, support <* and *>.

sql mode: Make it possible to disable backslash escapes in strings for dialects that don't have them, do this for MS SQL.

dockerfile mode: Highlight strings and ports, recognize more instructions.

New features

vim bindings: Support alternative delimiters in replace command.

v5.34.0

Compare Source

Bug fixes

markdown mode: Fix a problem where inline styles would persist across list items.

sublime bindings: Fix the toggleBookmark command.

closebrackets addon: Improve behavior when closing triple quotes.

xml-fold addon: Fix folding of line-broken XML tags.

shell mode: Better handling of nested quoting.

javascript-lint addon: Clean up and simplify.

matchbrackets addon: Fix support for multiple editors at the same time.

New features

New themes: oceanic-next and shadowfox.

v5.33.0

Compare Source

Bug fixes

lint addon: Make updates more efficient.

css mode: The mode is now properly case-insensitive.

continuelist addon: Fix broken handling of unordered lists introduced in previous release.

swift and scala modes: Support nested block comments.

mllike mode: Improve OCaml support.

sublime bindings: Use the proper key bindings for addCursorToNextLine and addCursorToPrevLine.

New features

jsx mode: Support JSX fragments.

closetag addon: Add an option to disable auto-indenting.

v5.32.0

Compare Source

Bug fixes

Increase contrast on default bracket-matching colors.

javascript mode: Recognize TypeScript type parameters for calls, type guards, and type parameter defaults. Improve handling of enum and module keywords.

comment addon: Fix bug when uncommenting a comment that spans all but the last selected line.

searchcursor addon: Fix bug in case folding.

emacs bindings: Prevent single-character deletions from resetting the kill ring.

closebrackets addon: Tweak quote matching behavior.

New features

continuelist addon: Increment ordered list numbers when adding one.

v5.31.0

Compare Source

Bug fixes

Further improve selection drawing and cursor motion in right-to-left documents.

vim bindings: Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable input mode.

continuecomment addon: Fix bug when pressing enter after a single-line block comment.

markdown mode: Fix issue with leaving indented fenced code blocks.

javascript mode: Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.

New features

Modes added with addOverlay now have access to a baseToken method on their input stream, giving access to the tokens of the underlying mode.

v5.30.0

Compare Source

Bug fixes

Fixed a number of issues with drawing right-to-left selections and mouse selection in bidirectional text.

search addon: Fix crash when restarting search after doing empty search.

mark-selection addon: Fix off-by-one bug.

tern addon: Fix bad request made when editing at the bottom of a large document.

javascript mode: Improve parsing in a number of corner cases.

markdown mode: Fix crash when a sub-mode doesn't support indentation, allow uppercase X in task lists.

gfm mode: Don't highlight SHA1 'hashes' without numbers to avoid false positives.

soy mode: Support injected data and @param in comments.

New features

simple mode addon: Allow groups in regexps when token isn't an array.

v5.29.0

Compare Source

Bug fixes

Fix crash in contentEditable input style when editing near a bookmark.

Make sure change origins are preserved when splitting changes on read-only marks.

javascript mode: More support for TypeScript syntax.

d mode: Support nested comments.

python mode: Improve tokenizing of operators.

markdown mode: Further improve CommonMark conformance.

css mode: Don't run comment tokens through the mode's state machine.

shell mode: Allow strings to span lines.

search addon: Fix crash in persistent search when extraKeys is null.

v5.28.0

Compare Source

Bug fixes

Fix copying of, or replacing editor content with, a single dash character when copying a big selection in some corner cases.

Make "goLineLeft"/"goLineRight" behave better on wrapped lines.

sql mode: Fix tokenizing of multi-dot operator and allow digits in subfield names.

searchcursor addon: Fix infinite loop on some composed character inputs.

markdown mode: Make list parsing more CommonMark-compliant.

gfm mode: Highlight colon syntax for emoji.

New features

Expose startOperation and endOperation for explicit operation management.

sublime bindings: Add extend-selection (Ctrl-Alt- or Cmd-Shift-Up/Down).

v5.27.4

Compare Source

Bug fixes

Fix crash when using mode lookahead.

markdown mode: Don't block inner mode's indentation support.

v5.27.2

Compare Source

Bug fixes

Fix crash in the simple mode< addon.

v5.27.0

Compare Source

Bug fixes

Fix infinite loop in forced display update.

Properly disable the hidden textarea when readOnly is "nocursor".

Calling the Doc constructor without new works again.

sql mode: Handle nested comments.

javascript mode: Improve support for TypeScript syntax.

markdown mode: Fix bug where markup was ignored on indented paragraph lines.

vim bindings: Referencing invalid registers no longer causes an uncaught exception.

rust mode: Add the correct MIME type.

matchbrackets addon: Document options.

New features

Mouse button clicks can now be bound in keymaps by using names like "LeftClick" or "Ctrl-Alt-MiddleTripleClick". When bound to a function, that function will be passed the position of the click as second argument.

The behavior of mouse selection and dragging can now be customized with the configureMouse option.

Modes can now look ahead across line boundaries with the StringStream.lookahead method.

Introduces a "type" token type, makes modes that recognize types output it, and add styling for it to the themes.

New pasteLinesPerSelection option to control the behavior of pasting multiple lines into multiple selections.

searchcursor addon: Support multi-line regular expression matches, and normalize strings when matching.

v5.26.0

Compare Source

Bug fixes

In textarea-mode, don't reset the input field during composition.

More careful restoration of selections in widgets, during editor redraw.

javascript mode: More TypeScript parsing fixes.

julia mode: Fix issue where the mode gets stuck.

markdown mode: Understand cross-line links, parse all bracketed things as links.

soy mode: Support single-quoted strings.

go mode: Don't try to indent inside strings or comments.

New features

vim bindings: Parse line offsets in line or range specs.

v5.25.2

Compare Source

Bug fixes

Better handling of selections that cover the whole viewport in contentEditable-mode.

No longer accidentally scroll the editor into view when calling setValue.

Work around Chrome Android bug when converting screen coordinates to editor positions.

Make sure long-clicking a selection sets a cursor and doesn't show the editor losing focus.

Fix issue where pointer events were incorrectly disabled on Chrome's overlay scrollbars.

javascript mode: Recognize annotations and TypeScript-style type parameters.

shell mode: Handle nested braces.

markdown mode: Make parsing of strong/em delimiters CommonMark-compliant.

v5.25.0

Compare Source

Bug fixes

In contentEditable-mode, properly locate changes that repeat a character when inserted with IME.

Fix handling of selections bigger than the viewport in contentEditable mode.

Improve handling of changes that insert or delete lines in contentEditable mode.

Count Unicode control characters 0x80 to 0x9F as special (non-printing) chars.

Fix handling of shadow DOM roots when finding the active element.

Add role=presentation to more DOM elements to improve screen reader support.

merge addon: Make aligning of unchanged chunks more robust.

comment addon: Fix comment-toggling on a block of text that starts and ends in a (differnet) block comment.

javascript mode: Improve support for TypeScript syntax.

r mode: Fix indentation after semicolon-less statements.

shell mode: Properly handle escaped parentheses in parenthesized expressions.

markdown mode: Fix a few bugs around leaving fenced code blocks.

soy mode: Improve indentation.

New features

lint addon: Support asynchronous linters that return promises.

continuelist addon: Support continuing task lists.

vim bindings: Make Y behave like yy.

sql mode: Support sqlite dialect.

v5.24.2

Compare Source

Bug fixes

javascript mode: Support computed class method names.

merge addon: Improve aligning of unchanged code in the presence of marks and line widgets.

v5.24.0

Compare Source

Bug fixes

A cursor directly before a line-wrapping break is now drawn before or after the line break depending on which direction you arrived from.

Visual cursor motion in line-wrapped right-to-left text should be much more correct.

Fix bug in handling of read-only marked text.

shell mode: Properly tokenize nested parentheses.

python mode: Support underscores in number literals.

sass mode: Uses the full list of CSS properties and keywords from the CSS mode, rather than defining its own incomplete subset.

css mode: Expose lineComment property for LESS and SCSS dialects. Recognize vendor prefixes on pseudo-elements.

julia mode: Properly indent elseif lines.

markdown mode: Properly recognize the end of fenced code blocks when inside other markup.

scala mode: Improve handling of operators containing #, @​, and : chars.

xml mode: Allow dashes in HTML tag names.

javascript mode: Improve parsing of async methods, TypeScript-style comma-separated superclass lists.

indent-fold addon: Ignore comment lines.

New features

Positions now support a sticky property which determines whether they should be associated with the character before (value "before") or after (value "after") them.

vim bindings: Make it possible to remove built-in bindings through the API.

comment addon: Support a per-mode useInnerComments option to optionally suppress descending to the inner modes to get comment strings.

Breaking changes

The sass mode now depends on the css mode.

v5.23.0

Compare Source

Bug fixes

Presentation-related elements DOM elements are now marked as such to help screen readers.

markdown mode: Be more picky about what HTML tags look like to avoid false positives.

New features

findModeByMIME now understands +json and +xml MIME suffixes.

closebrackets addon: Add support for an override option to ignore language-specific defaults.

panel addon: Add a stable option that auto-scrolls the content to keep it in the same place when inserting/removing a panel.

v5.22.2

Compare Source

Bug fixes

Include rollup.config.js in NPM package, so that it can be used to build from source.

v5.22.0

Compare Source

Bug fixes

sublime bindings: Make selectBetweenBrackets work with multiple cursors.

javascript mode: Fix issues with parsing complex TypeScript types, imports, and exports.

A contentEditable editor instance with autofocus enabled no longer crashes during initializing.

New features

emacs bindings: Export CodeMirror.emacs to allow other addons to hook into Emacs-style functionality.

active-line addon: Add nonEmpty option.

New event: optionChange.

v5.21.0

Compare Source

Bug fixes

Tapping/clicking the editor in contentEditable mode on Chrome now puts the cursor at the tapped position.

Fix various crashes and misbehaviors when reading composition events in contentEditable mode.

Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a <body>.

merge addon: Fix several issues in the chunk-aligning feature.

verilog mode: Rewritten to address various issues.

julia mode: Recognize Julia 0.5 syntax.

swift mode: Various fixes and adjustments to current syntax.

markdown mode: Allow lists without a blank line above them.

New features

The setGutterMarker, clearGutter, and lineInfo methods are now available on Doc objects.

The heightAtLine method now takes an extra argument to allow finding the height at the top of the line's line widgets.

ruby mode: else and elsif are now immediately indented.

vim bindings: Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.

v5.20.2

Compare Source

Bug fixes

Fix CodeMirror.version returning the wrong version number.

v5.20.0

Compare Source

Bug fixes

Make newlineAndIndent command work with multiple cursors on the same line.

Make sure keypress events for backspace are ignored.

Tokens styled with overlays no longer get a nonsense cm-cm-overlay class.

Line endings for pasted content are now normalized to the editor's preferred ending.

javascript mode: Improve support for class expressions. Support TypeScript optional class properties, the abstract keyword, and return type declarations for arrow functions.

css mode: Fix highlighting of mixed-case keywords.

closebrackets addon: Improve behavior when typing a quote before a string.

New features

The core is now maintained as a number of small files, using ES6 syntax and modules, under the src/ directory. A git checkout no longer contains a working codemirror.js until you npm run build (but when installing from NPM, it is included).

The refresh event is now documented and stable.

v5.19.0

Compare Source

Bugfixes

erlang mode: Fix mode crash when trying to read an empty context.

comment addon: Fix broken behavior when toggling comments inside a comment.

xml-fold addon: Fix a null-dereference bug.

Page up and page down now do something even in single-line documents.

Fix an issue where the cursor position could be off in really long (~8000 character) tokens.

New features

javascript mode: Better indentation when semicolons are missing. Better support for TypeScript classes, optional parameters, and the type keyword.

The blur and focus events now pass the DOM event to their handlers.

v5.18.3

Compare Source

v5.18.2

Compare Source

Bugfixes

vue mode: Fix outdated references to renamed Pug mode dependency.

v5.18.0

Compare Source

Bugfixes

Make sure gutter backgrounds stick to the rest of the gutter during horizontal scrolling.

The contenteditable inputStyle now properly supports pasting on pre-Edge IE versions.

javascript mode: Fix some small parsing bugs and improve TypeScript support.

matchbrackets addon: Fix bug where active highlighting was left in editor when the addon was disabled.

match-highlighter addon: Only start highlighting things when the editor gains focus.

javascript-hint addon: Also complete non-enumerable properties.

New features

The addOverlay method now supports a priority option to control the order in which overlays are applied.

MIME types that end in +json now default to the JSON mode when the MIME itself is not defined.

Breaking changes

The mode formerly known as Jade was renamed to Pug.

The Python mode now defaults to Python 3 (rather than 2) syntax.

v5.17.0

Compare Source

Bugfixes

Fix problem with wrapped trailing whitespace displaying incorrectly.

Prevent IME dialog from overlapping typed content in Chrome.

Improve measuring of characters near a line wrap.

javascript mode: Improve support for async, allow trailing commas in import lists.

vim bindings: Fix backspace in replace mode.

sublime bindings: Fix some key bindings on OS X to match Sublime Text.

New features

markdown mode: Add more classes to image links in highlight-formatting mode.

v5.16.0

Compare Source

Bugfixes

Fix glitches when dragging content caused by the drop indicator receiving mouse events.

Make Control-drag work on Firefox.

Make clicking or selection-dragging at the end of a wrapped line select the right position.

show-hint addon: Prevent widget scrollbar from hiding part of the hint text.

rulers addon: Prevent rulers from forcing a horizontal editor scrollbar.

New features

search addon: Automatically bind search-related keys in persistent dialog.

sublime keymap: Add a multi-cursor aware smart backspace binding.


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 2 times, most recently from 98ea3b4 to 76ee4ea Compare June 6, 2019 11:47
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 2 times, most recently from 584a48b to ae5d45e Compare June 20, 2019 07:12
@renovate renovate bot changed the title fix(deps): update dependency codemirror to v5.47.0 fix(deps): update dependency codemirror to v5.48.0 Jun 20, 2019
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 4 times, most recently from df57a63 to fc80dbf Compare July 8, 2019 14:27
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 3 times, most recently from 31470fc to cfd8bb4 Compare July 15, 2019 19:45
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 2 times, most recently from c26c785 to 5be92fd Compare July 19, 2019 20:25
@renovate renovate bot changed the title fix(deps): update dependency codemirror to v5.48.0 fix(deps): update dependency codemirror to v5.48.2 Jul 19, 2019
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch 2 times, most recently from 1940c47 to ab47ee2 Compare July 21, 2019 18:44
@renovate renovate bot force-pushed the renovate/codemirror-5.x branch from ab47ee2 to 8f9c982 Compare July 22, 2019 17:02
@mgechev mgechev merged commit 21504e1 into master Jul 23, 2019
@mgechev mgechev deleted the renovate/codemirror-5.x branch July 23, 2019 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants