Commit Graph

588 Commits

Author SHA1 Message Date
ddc184fb24 Restore fullscreen mode if the program was in fullscreen when quitting
Read specific keys from CONFIG.windowConfig instead of using Object.assign for whatever is in the config file.
2023-01-19 11:45:40 +01:00
80febafd26 Small optimization of external noteContent parser 2023-01-19 11:31:49 +01:00
00c2f21b93 Add some comments 2023-01-19 02:47:57 +01:00
8980e532f2 Remove debug log 2023-01-19 02:46:38 +01:00
e21d64d146 #windows-build 2023-01-19 02:38:41 +01:00
60d8e9589c Remember window size and position between sessions 2023-01-19 02:38:19 +01:00
aa1173e8ad #windows-build 2023-01-19 00:24:45 +01:00
14152fbede Implement persistent buffer 2023-01-19 00:20:50 +01:00
c4e78a70ce Fix bug causing an endless loop with the lang auto detector continuously changing the language of the current block 2023-01-19 00:18:18 +01:00
335390d8e5 Update key binding help text 2023-01-18 21:36:48 +01:00
4a56b7d331 Remove loader animation. Fix correct background color according to theme while loading. Set correct color on BrowserWindow to prevent white flash. 2023-01-18 21:36:31 +01:00
80feeed26c First block should not be have auto language 2023-01-17 01:25:07 +01:00
d361a5a073 Build both DMG and ZIP for both arm64 and intel architectures
Save ZIP file in mac build artifact instead of DMG file
2023-01-17 01:24:38 +01:00
0862fb6a07 Mac icon pixel push 2023-01-17 00:53:15 +01:00
3357e81609 New greenish icon 2023-01-16 23:43:39 +01:00
8d8f6cdcb3 Add support for Rust, XML and C++
Remove Lezer support
2023-01-16 23:43:22 +01:00
c3918c32c5 Don't use conflicting name "select" for language change event
#windows-build
2023-01-16 21:52:45 +01:00
9599fd7d92 #windows-build 2023-01-16 21:38:16 +01:00
996f5c131e Give back focus to editor when toggling themes 2023-01-16 21:31:52 +01:00
8214bf1bbb Add ability to change language using a language selector dialog 2023-01-16 21:30:30 +01:00
41573820ae Add CSS support
Add Language class and move language related settings into editor/language.js

In order to add an additional language now, one only has to add in to the LANGUAGES list, and add the token to heynote.grammar
2023-01-16 20:36:07 +01:00
4660f42460 Move App into components 2023-01-16 16:34:22 +01:00
0b34cc4dd3 Remove old test/template code 2023-01-16 16:32:48 +01:00
8ba1f1d96e Dummy commit in order to not trigger windows build 2023-01-16 16:19:41 +01:00
1f73950d8b Fix windows favicon and broken #windows-build 2023-01-16 16:08:39 +01:00
97995da5e1 Revert "Change icon on Windows"
This reverts commit b561c0184e.
2023-01-16 16:07:39 +01:00
c43a858f4c Revert "Try to fix broken #windows-build"
This reverts commit 423b2adb0b.
2023-01-16 16:07:11 +01:00
423b2adb0b Try to fix broken #windows-build 2023-01-16 15:59:11 +01:00
b561c0184e Change icon on Windows
#windows-build
2023-01-16 15:53:57 +01:00
3772e02bee Icon pixel push 2023-01-16 15:53:25 +01:00
c8cc1cb5f1 Make moveLineUp and changeLanguageTo command respect state.readOnly 2023-01-16 15:33:05 +01:00
fc63ad1651 Add isMac, isWindows, isLinux to a global window.platform object in the renderer 2023-01-16 15:32:45 +01:00
d4078d50d4 Move theme/mode related preload code into it's own module 2023-01-16 15:31:46 +01:00
818d7f0260 Add gotoNextBlock and gotoPreviousBlock commmands (keymapped to Mod-Up/Down) 2023-01-16 14:42:55 +01:00
7dc39ca6e4 Change selection and highlight colors of dark theme 2023-01-16 14:41:48 +01:00
7787d3ec05 Fix dark scrollbars in dark mode on windows 2023-01-16 13:40:37 +01:00
f2bff13c6e Remove command for manually triggering language auto detection 2023-01-16 12:57:26 +01:00
15b86abf0f Rename note-block.js -> block.js 2023-01-16 12:55:39 +01:00
d4b3905b0f Upgrade Electron. Fixes warning in console. 2023-01-16 12:55:21 +01:00
e8c961135b Add Github Action for building only on windows when tagging commits with #windows-build 2023-01-16 11:27:31 +01:00
6a53168b05 Fix issue where auto detected language would not get emitted to the status bar immediately on language change, if the cursor wasn't changed at the same time 2023-01-16 11:12:54 +01:00
7a74798a11 Fix language auto detection/changing breaking undo/redo history 2023-01-16 11:11:28 +01:00
996d4338ce Use different initial content for development/release
#build
2023-01-15 20:24:31 +01:00
895bd4eccc Fix font path to (hopefully) work in release builds
#build
2023-01-15 20:06:57 +01:00
f837d547d4 Set autoHideMenuBar:true to hide the menu bar on windows 2023-01-15 20:00:10 +01:00
b5903c40cc Only put the relevant .exe file into the built windows artifact
#build
2023-01-15 19:56:27 +01:00
3b905951af Convert styles.css to SASS and include it by importing it in main.js.
Add fonts: Hack and Open Sans.
Change editor font to Hack.
2023-01-15 19:55:26 +01:00
7aab3874b0 Remove old unused files from template 2023-01-15 19:53:12 +01:00
800b4506ae Create artifact of all files in release/ for windows build (so that we can inspect it and write a more specific glob)
#build
2023-01-15 13:09:42 +01:00
d2e1f9d4a0 Set icon for windows build
#build
2023-01-15 13:01:41 +01:00