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

Update/5.58.2 #1

Merged
merged 450 commits into from
Oct 31, 2020
Merged

Update/5.58.2 #1

merged 450 commits into from
Oct 31, 2020

Conversation

mrdrogdrog
Copy link
Member

Add last hackmd hacks from upstream and update to code mirror 5.58.2

marijnh and others added 30 commits November 14, 2019 10:10
…before them

Fix issue where lastIndexOff was accidentally passed a negative
start position, which causes it to search from the end of the string.

Closes codemirror#6065
Includes multi database and privilege management commands
So that the widgets can be dynamic with regards to their content.

Expand the fold demo with a JSON editor that shows the number of
elements in folded regions.
Removal of line widgets is broken in 5.50.0 due to invalid classname check
The external link to the ternjs.net demo page returns a 404 error; this PR corrects it.
Clashsoft and others added 27 commits September 17, 2020 11:45
This changes lint.css to be less reliant on the predefined severities
(error and warning), in turn making it easier to define custom ones.
Now all that needs to be done in order to define a new severity, e.g.
`note`, is to add the following CSS:

```css
/* underline */
.CodeMirror-lint-mark-note {
  background-image: ...;
}

/* icon */
.CodeMirror-lint-marker-note, .CodeMirror-lint-message-note {
  background-image: ...;
}
```

Previously, it was necessary to copy many styles that were only
available under the `CodeMirror-lint-*-error` and
`CodeMirror-lint-*-warning` classes.
By swapping the CSS rules, the error rules take priority in case there
are markers with both severities on the same token. That token is now
underlined red instead of yellow, making it consistent with how errors
take priority in the gutter.
…read-only

This prevents cut/paste from showing up in the context menu on Chrome
(but doesn't help on Firefox).

Closes codemirror#6418
I couldn't figure out what the original code was intended to do, but
I've tried to fix the problem without changing it more than necessary.

Closes codemirror#6428
It never took off, and I very much prefer communicating through the forum
and bug tracker.
…crement-list-number

Support disableAutoIncrementMarkdownListNumbers option
* Do not treat the opening '<' of an expanded IRI atom as an operator

The existing code would not highlight the IRI atom "<foo#bar>" in the following line as an atom.
FILTER( ?x = "42"^^<foo#bar> )
for example everything after the # would be highlighted as a comment. This is because the sequence "^^<" while all "operator characters", are not all SPARQL operators in this case: the "<" introduces the IRI atom. I special-case the "^^".

* Improve PN_LOCAL parsing to SPARQL 1.1

The following legal sequences of characters from SPARQL 1.1 are additionally parsed as being the right-hand-side of a prefixed IRI.
1) Colons
2) PERCENT escaping
3) PN_LOCAL_ESCAPE escaping
# Conflicts:
#	package.json
@mrdrogdrog mrdrogdrog self-assigned this Oct 31, 2020
@mrdrogdrog mrdrogdrog merged commit 14d7274 into master Oct 31, 2020
@mrdrogdrog mrdrogdrog deleted the update/5.58.2 branch October 31, 2020 20:56
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.