Commit Graph

494 Commits

Author SHA1 Message Date
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
Jonatan Heyman
b44b47991b Change getActiveNoteBlock and getNoteBlockFromPos so that they return a block even if the cursor is hidden within a separator. Shouldn't happen, but this should make it more robust. 2023-01-24 18:04:07 +01:00
Jonatan Heyman
751dfa0a73 Add File menu on Windows 2023-01-24 17:08:38 +01:00
Jonatan Heyman
428a3172ab When moving all lines from the last block upwards, make sure we don't create a block with empty block content (which will create an invalid syntax tree)
#windows-build
2023-01-24 16:34:31 +01:00
Jonatan Heyman
a3545f5b52 Update to latest version of Lezer 2023-01-24 16:17:05 +01:00
Jonatan Heyman
a5d47d81f6 Add commands for selecting next/previous block/paragraph 2023-01-24 16:16:54 +01:00
Jonatan Heyman
ed13baf4e4 Make the insertNewBlockAtCursor use the same block language/auto setting as the block that is being split 2023-01-23 17:38:36 +01:00
Jonatan Heyman
9987c01207 Fix issue where it was possible to create an invalid block syntax by moving lines 2023-01-22 14:28:28 +01:00
Jonatan Heyman
35f4bed7c1 Don't emit cursorChange if we have a valid line 2023-01-22 14:27:09 +01:00
Jonatan Heyman
305ec124ac Continuously render the debug syntax tree 2023-01-21 16:01:59 +01:00
Jonatan Heyman
99a6d0fcc7 Copy moveLineUp/moveLineDown command from Codemirror source into move-lines.js. Plan is to modify them to fix issue when moving the only line from a a single line block. When that happens it results in the following text data in the buffer:
∞∞∞text
∞∞∞text

And the separator needs a newline on both sides to be valid
2023-01-21 16:01:27 +01:00
Jonatan Heyman
4b4e113aa5 Att next/previous paragraph commands 2023-01-20 17:55:02 +01:00
Jonatan Heyman
924fd4b226 Replace block separators with "\n\n" when copying text.
Add Settings dialog.
Started implementing Emacs-like keymap.
2023-01-20 15:33:26 +01:00