Caleb John
48c9b86d2b
Desktop: Fixes #3791 : Add stricter rules for katex blocks ( #3795 )
2020-09-22 13:16:37 +01:00
Caleb John
7202066c1f
Desktop: Fix bug where editor would scroll to focus global search ( #3787 )
2020-09-22 13:12:22 +01:00
Caleb John
e1144c098e
Desktop: Fixed scrolling issue when editing while searching in CodeMirror ( #3593 )
...
Only scroll to search matchs when the user changes the search or
explicitly changes the search index
https://discourse.joplinapp.org/t/codemirror-feedback/10397
2020-08-08 10:11:55 +01:00
Caleb John
5c5cb0f781
Desktop: Implement scroll-past-end on CodeMirror editor ( #3589 )
2020-08-08 09:55:10 +01:00
Laurent Cozic
89864de1ff
Tools: Added eslint radix rule
2020-08-04 22:36:50 +01:00
Caleb John
7f73931530
Desktop: Fixes #3560 : Modify the CodeMirror linter plugin to fix katex ( #3582 )
...
Rewrite the joplin mode to manually handle parsing.
This gives us more control over katex parsing and the ability to upgrade
in the future
2020-08-02 11:33:59 +01:00
Caleb John
bbfed9bca8
Desktop: Codemirror: clean up list indent code ( #3581 )
2020-08-01 19:09:52 +01:00
Caleb John
0fa8dfa063
Desktop: Enforce that whitespace check for unindent checks the begining of a ( #3515 )
2020-07-22 23:17:49 +01:00
Caleb John
44d3a4213f
Desktop: Enable searching in editor rather than the viewer for CodeMirror ( #3360 )
2020-07-22 23:13:23 +01:00
Caleb John
452b41de0f
Desktop: Fixes #3440 : Improve Markdown rendering in CodeMirror, in particular for math expressions ( #3448 )
2020-07-12 19:42:19 +01:00
Caleb John
8eb94bc8ab
Desktop: Manually refresh codemirror whenever the window size changes ( #3388 )
...
* Manually refresh codemirror whenever the parent div size changes
* Set editor width through style rather than adding an extra property
* use Memo for editorStyle
2020-07-02 22:45:43 +01:00
Laurent Cozic
fd4e5d7d30
Android release v1.0.333
2020-06-28 19:57:33 +01:00
Caleb John
2f15178ff6
Desktop: Remove auto-indent for in note html/xml for Code Mirror ( #3374 )
...
html/xml inside of a codeblock will still benefit from auto-indent
2020-06-16 13:00:58 +01:00
Caleb John
a4b13be0d1
Desktop: Fix getLineSpan logic and list token regex logic ( #3365 )
...
- previously getLineSpan was included line text as a token (dumb
oversight)
- the regex was updated to include a space after a OL element (was
missing for some reason)
2020-06-16 13:00:17 +01:00
Caleb John
a8c8539e7a
Desktop: Add option to choose Code Mirror as code editor ( #3284 )
2020-06-06 16:00:20 +01:00