Commit Graph

456 Commits

Author SHA1 Message Date
Jonatan Heyman
6bc3e09826 Improve Markdown mode.
Replace [ ] and [x] with checkboxes in Markdown todo lists.
Add Markdown LanguageSupport extension in order to automatically add/remove new list items when pressing enter/backspace in a list in Markdown mode.
2023-03-07 22:32:50 +01:00
Jonatan Heyman
b26381164a Improve language auto detection
If content starts and ends with { & } or [ & ], we first try to parse is as JSON. If that succeeds, we'll assume it's JSON.

Increase the highlightjs relevance threshold. 

Hopefully this will result in fewer false positives that have been observed (e.g. for CSS and JSON).
2023-03-07 15:01:41 +01:00
Jonatan Heyman
ef5955feeb Fix seamless start/stop of update icon's spinning animation.
Bump version.
2023-03-07 02:24:08 +01:00
Jonatan Heyman
93bf1e9036 Improve auto update
Add titles to status bar buttons
Bump version to 1.0.7
2023-03-07 01:45:23 +01:00
Jonatan Heyman
1df255032c Check for updates once every 24 hours.
Bump version.
2023-03-06 10:24:23 +01:00
Jonatan Heyman
19dc637dee Make auto update on Windows silent.
Bump version.
2023-03-06 09:44:24 +01:00
Jonatan Heyman
0be331d40d Bump version 2023-03-06 01:55:40 +01:00
Jonatan Heyman
00b88c9282 Fix cursor position issue when pressing page up/down
The cursor was not staying at the same viewport position, and could even get positioned outside the viewport.
2023-03-06 01:55:06 +01:00
Jonatan Heyman
e540d8b844 Bump version 2023-03-06 01:33:45 +01:00
Jonatan Heyman
d365fbba30 Remove build-windows Github action 2023-03-06 01:32:16 +01:00
Jonatan Heyman
7ce91016d6 Add auto update support 2023-03-06 01:30:37 +01:00
Jonatan Heyman
2c3eacbba0 Remove unused publish command 2023-03-06 01:21:26 +01:00
Jonatan Heyman
e32249e340 Only run build workflow on tag push.
Bump version.
2023-03-05 20:00:05 +01:00
Jonatan Heyman
1e69a593e2 Always release on push #build 2023-03-05 19:54:50 +01:00
Jonatan Heyman
3387f18e8d Bump version #build 2023-03-05 18:24:14 +01:00
Jonatan Heyman
092d3816be Use electron-builder-notarize for Mac app notarization
#build
2023-03-05 14:41:34 +01:00
Jonatan Heyman
205471aec3 Try to get Mac singning and notarization working in github action
#build
2023-03-05 13:28:15 +01:00
Jonatan Heyman
4c44f32542 Use fixed notation for math result values when they are copied to clipboard 2023-03-04 15:46:08 +01:00
Jonatan Heyman
51b2be3740 Add copy to clipboard when clicking on a math result 2023-03-04 00:41:39 +01:00
Jonatan Heyman
f517bf50d0 #windows-build 2023-03-03 16:33:21 +01:00
Jonatan Heyman
facd782984 Set default font for input and button elements 2023-03-03 16:14:33 +01:00
Jonatan Heyman
84812e892c Pixel push: dim down search panel's close button 2023-03-03 16:02:01 +01:00
Jonatan Heyman
37d1984f1f Style search panel 2023-03-03 15:56:48 +01:00
Jonatan Heyman
e6a6561395 Prevent search and replace from changing block deklimiters 2023-03-03 15:55:50 +01:00
Jonatan Heyman
d59d8fd7e7 Pixel push: Increase box shadow for language selector in dark mode 2023-03-03 15:54:55 +01:00
Jonatan Heyman
f1ac98c81a #windows-build 2023-03-03 13:50:18 +01:00
Jonatan Heyman
17a52683e9 Fix so that C-a (select all) in empty blocks doesn't select the whole buffer on first press 2023-03-03 13:31:15 +01:00
Jonatan Heyman
4d98d9c861 Change so that Alt+Click adds new cursor (instead of C+Click) 2023-03-03 13:29:50 +01:00
Jonatan Heyman
85a5bc95a7 Change key binding for format code 2023-03-03 13:28:51 +01:00
Jonatan Heyman
03d0195eb3 Catch syntax errors when trying to format code 2023-03-03 13:28:18 +01:00
Jonatan Heyman
2c1e23c9f4 Use selection.head when instead of to/from when determining active block, and formatting code 2023-03-03 01:49:50 +01:00
Jonatan Heyman
e1fe26b881 Add format block button to status bar, when a supported block is active 2023-03-03 01:40:24 +01:00
Jonatan Heyman
f3c5a49fbf Add ability to format code for JSON, JS, CSS, HTML and Markdown blocks 2023-03-03 00:57:33 +01:00
Jonatan Heyman
3aa9e5d512 Override default highlighting style to remove ugly underline on heading tags 2023-03-03 00:56:06 +01:00
Jonatan Heyman
0d7c04991f Use slightly lighter text for math expression results 2023-03-02 23:20:14 +01:00
Jonatan Heyman
7f73c04424 Add warning comment 2023-03-02 21:10:15 +01:00
Jonatan Heyman
c92f43ef0a #windows-build 2023-03-02 21:03:00 +01:00
Jonatan Heyman
686dc77e78 Increase number of digits needed before shortening numbers such as 3.7e+9 2023-03-02 21:00:00 +01:00
Jonatan Heyman
82f916122c Turn off nodeIntegration. Without it disabled, Math.js does not work in production build. 2023-03-02 20:59:13 +01:00
Jonatan Heyman
4d12404d77 Add support for Math blocks 2023-03-02 18:40:44 +01:00
Jonatan Heyman
cc6cda0217 #windows-build 2023-02-15 09:56:19 +01:00
Jonatan Heyman
bd28472175 Fix so that status bar blocks have the full height of the status bar (visible when hovered) 2023-02-12 13:11:50 +01:00
Jonatan Heyman
3a99272ec4 #windows-build 2023-02-12 12:34:01 +01:00
Jonatan Heyman
a120938fc6 Update @lezer/lr that fixes bug that can cause parser to crash
https://github.com/lezer-parser/cpp/issues/2

#windows-build
2023-02-01 15:53:07 +01:00
Jonatan Heyman
f2462b203d Update changed config key 2023-01-29 12:49:54 +01:00
Jonatan Heyman
5f98323586 Add setting for turning on/off line number gutters and fold gutters 2023-01-27 17:18:31 +01:00
Jonatan Heyman
1fe63860a8 Add more bindings to Emacs style keybindings 2023-01-27 14:36:24 +01:00
Jonatan Heyman
97d4f6294a Add ability to change Emacs meta key on Mac 2023-01-25 10:11:51 +01:00
Jonatan Heyman
659f853102 Tab size 2023-01-25 10:10:11 +01:00
Jonatan Heyman
83356275dd Simplify keymap definitions.
Bind Ctrl-Left/Right keys for Emacs keybinding.
2023-01-24 18:55:06 +01:00