Commit Graph

14 Commits

Author SHA1 Message Date
Jonatan Heyman
b1e46e2b96 Automatically focus editor on page load 2022-12-30 03:02:31 +01:00
Jonatan Heyman
662a234377 Minor formatting 2022-12-30 03:02:04 +01:00
Jonatan Heyman
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 2022-12-29 22:24:07 +01:00
Jonatan Heyman
c7282b3131 Fix issue with the first line of the first block.
Individual line numbering for each block.
2022-12-29 21:03:53 +01:00
Jonatan Heyman
f4642de14c Fix rendering of note backgrounds when there are multiple view.visibleRanges 2022-12-29 21:02:26 +01:00
Jonatan Heyman
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 2022-12-29 19:38:01 +01:00
Jonatan Heyman
551089d613 Set correct width for block backgrounds 2022-12-29 18:44:33 +01:00
Jonatan Heyman
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. 2022-12-29 14:16:31 +01:00
Jonatan Heyman
fc4c7c8145 Use correct width for block decorations 2022-12-28 16:03:57 +01:00
Jonatan Heyman
c0f8bffc84 Prevent selection before (and within) first note token 2022-12-28 15:28:40 +01:00
Jonatan Heyman
3d52a0ff63 Update fixture 2022-12-28 15:27:03 +01:00
Jonatan Heyman
79f4a7f0d7 Rename parser files 2022-12-28 15:26:57 +01:00
Jonatan Heyman
53d340060d Remove debug code 2022-12-28 13:52:18 +01:00
Jonatan Heyman
254ca836ef Initial import 2022-12-28 12:49:26 +01:00