Commit Graph

  • c2036e7e6b Allow running both an instance of a Heynote production build, and a dev instance Jonatan Heyman 2023-01-13 01:57:50 +0100
  • 3d20ac30be Add @electron/asar to dev dependencies Jonatan Heyman 2023-01-13 01:47:33 +0100
  • f70098fde9 Remove built files Jonatan Heyman 2023-01-13 01:45:22 +0100
  • 1852ea7a03 Fix Electron build stuff. Add icon. Upgrade som packages. Jonatan Heyman 2023-01-13 01:45:14 +0100
  • 77d457bdee Fix so that language detection web worker works both in development and release build Jonatan Heyman 2023-01-13 01:43:20 +0100
  • 6ff9d2ca4a Add a welcome message to the fixture text Jonatan Heyman 2023-01-13 01:42:23 +0100
  • c7a00dd8da Hide loading screen when app is loaded Jonatan Heyman 2023-01-13 01:42:02 +0100
  • d1b61ce899 Don't auto open developer tools Jonatan Heyman 2023-01-13 01:40:35 +0100
  • a8bbc8a9a0 Remove built files Jonatan Heyman 2023-01-13 01:39:59 +0100
  • 2c19a749c8 Remove /public/ from URL path Jonatan Heyman 2023-01-12 19:09:50 +0100
  • 7a39cb44a4 Add npm script task for building the heynote lezer grammar Jonatan Heyman 2023-01-12 18:58:06 +0100
  • fc8c4a55a0 Move editor into Electron shell Jonatan Heyman 2023-01-12 18:55:55 +0100
  • ce531aa854 Fix wrong height of last block background layer Jonatan Heyman 2023-01-12 18:01:54 +0100
  • e880387128 Add some padding before the first line Jonatan Heyman 2023-01-12 18:01:21 +0100
  • 8e4a486681 Change default theme to light Jonatan Heyman 2023-01-12 17:32:11 +0100
  • 8649222fa8 Add relevance threshold to language auto detection, and some debug logging Jonatan Heyman 2023-01-12 17:31:47 +0100
  • 185dc25078 Design pixel push Jonatan Heyman 2023-01-12 17:05:22 +0100
  • ee9e44028c Remove top margin from first block Jonatan Heyman 2023-01-12 17:04:47 +0100
  • 6d7abb1503 Decrease font size Jonatan Heyman 2023-01-12 01:01:25 +0100
  • 77146bda6c Change block background colors for light theme Jonatan Heyman 2023-01-12 01:00:22 +0100
  • 7d87277f65 Slightly less padding in gutter Jonatan Heyman 2023-01-12 00:59:51 +0100
  • c64deb786e Add some spacing between blocks Jonatan Heyman 2023-01-12 00:57:51 +0100
  • 15c6cc8523 Include light/dark theme before base so that it takes precedence Jonatan Heyman 2023-01-12 00:57:02 +0100
  • af86743f19 Language auto detection Jonatan Heyman 2023-01-03 16:56:07 +0100
  • 95328ba739 Add getActiveNoteBlock function Jonatan Heyman 2023-01-02 11:49:45 +0100
  • f53a579614 Change selection background color for light theme Jonatan Heyman 2022-12-31 14:49:01 +0100
  • 866c2fd30f Disable (over)scroll "bouncing" Jonatan Heyman 2022-12-31 12:20:21 +0100
  • 8c059dc4be Add a light theme. Move common stuff into a base theme. Jonatan Heyman 2022-12-31 02:03:13 +0100
  • 74bb800a4a Tweak colors of dark theme Jonatan Heyman 2022-12-30 17:04:42 +0100
  • 51bb893836 Move keymap into its own JS module Jonatan Heyman 2022-12-30 16:18:15 +0100
  • c8e4861ffe Fix bug causing note delimiter to be copied if "moveLineUp" command was executed with the first line selected Jonatan Heyman 2022-12-30 16:11:22 +0100
  • 0f072b8699 Add select all command that first selects the current note, and then the whole document (if executed with a whole note selected) Jonatan Heyman 2022-12-30 15:31:12 +0100
  • 4307bf6d0f Set scroll margin Jonatan Heyman 2022-12-30 15:04:48 +0100
  • 937c5af191 Add command for inserting a new note Jonatan Heyman 2022-12-30 15:04:33 +0100
  • 8e88f33e4a Move note-block.js into subdirectory Jonatan Heyman 2022-12-30 15:00:49 +0100
  • 1695cc9d11 Create HeynoteEditor class and restructure init code Jonatan Heyman 2022-12-30 12:55:41 +0100
  • 9aff278c80 Set note background layers' width to 100% in CSS instead of measuring the editor width in a requestMeasure() call Jonatan Heyman 2022-12-30 12:52:32 +0100
  • 1f4c63cff1 Add ability to scroll past the end of the document, and increase the height of the last note's background layer Jonatan Heyman 2022-12-30 11:20:07 +0100
  • bbab47a8ac Indent with 4 spaces Jonatan Heyman 2022-12-30 11:06:29 +0100
  • 570fdba08b Move cursor to end of document and scroll it into view Jonatan Heyman 2022-12-30 11:05:30 +0100
  • 5a4a092521 Make gutter semi transparent. Darker colors. Jonatan Heyman 2022-12-30 03:03:20 +0100
  • e21ec44556 Turn on line wrapping Jonatan Heyman 2022-12-30 03:02:43 +0100
  • b1e46e2b96 Automatically focus editor on page load Jonatan Heyman 2022-12-30 03:02:31 +0100
  • 662a234377 Minor formatting Jonatan Heyman 2022-12-30 03:02:04 +0100
  • 1b3665b7b6 Track the size of the first note's delimiter, and use that (instead of hard coded value) to decide how big range we need to protect in the beginning Jonatan Heyman 2022-12-29 22:24:07 +0100
  • c7282b3131 Fix issue with the first line of the first block. Individual line numbering for each block. Jonatan Heyman 2022-12-29 21:03:53 +0100
  • f4642de14c Fix rendering of note backgrounds when there are multiple view.visibleRanges Jonatan Heyman 2022-12-29 21:02:26 +0100
  • 693390cac4 Only iterate through the syntax tree in one place to build up a state and store in a StateField, which is then used by the other extensions Jonatan Heyman 2022-12-29 19:38:01 +0100
  • 551089d613 Set correct width for block backgrounds Jonatan Heyman 2022-12-29 18:44:33 +0100
  • f1038ce696 Change note separator to include a new line both at the start and end. This fixes a bug with hitting End/Home keys putting the cursor within the atomic block around the separator. Jonatan Heyman 2022-12-29 14:16:31 +0100
  • fc4c7c8145 Use correct width for block decorations Jonatan Heyman 2022-12-28 16:03:57 +0100
  • c0f8bffc84 Prevent selection before (and within) first note token Jonatan Heyman 2022-12-28 15:28:40 +0100
  • b1c6ebfbf0 Add .gitignore Jonatan Heyman 2022-12-28 15:27:10 +0100
  • 3d52a0ff63 Update fixture Jonatan Heyman 2022-12-28 15:27:03 +0100
  • 79f4a7f0d7 Rename parser files Jonatan Heyman 2022-12-28 15:26:57 +0100
  • 53d340060d Remove debug code Jonatan Heyman 2022-12-28 13:52:18 +0100
  • 254ca836ef Initial import Jonatan Heyman 2022-12-28 12:49:26 +0100