David Bolack
ea9f9a8c36
Missed a couple of variable repalcements.
2024-06-03 02:39:20 -05:00
David Bolack
cca79d4b17
Merge branch 'master' into Issue_241_Part_II
2024-06-03 02:29:19 -05:00
David Bolack
a715c9e1e6
Store livescrolling in local storage
...
Small fixes for loading the correct current state.
2024-06-03 02:26:56 -05:00
Trevor Buckner
2453b623db
tweak names in editor.jsx
2024-05-21 17:45:50 -04:00
David Bolack
835ca0de32
WIP
2024-05-20 16:21:02 -05:00
David Bolack
bacdd65025
Add a CR.
2024-05-19 11:52:16 -05:00
David Bolack
86887b536e
Update Jump keys to match parent PR and shift live scrolling to scroll-lock.
...
Needs non-PC testing.
2024-05-19 11:16:50 -05:00
David Bolack
b7dc47fe9e
Add a Live Scroll lock/unlock below Brew/Source Jump buttons.
...
The button displays the *next* state of the toggle. IE, if the current state is locked ( Live scrolling is active ) the icon is unlock with a corresponding mouse-over.
It may be desirable to invert this.
2024-05-18 22:17:29 -05:00
David Bolack
8ece54701d
Add live scrolling to keep the preview in sync with editor position.
...
This catchs CTRL-HOME, CTRL-END, and mouseclicks.
It tests for changes on arrow keys and enter.
Not sure if it's the best way to do this, but it works quickly on a large, crappy brew.
2024-05-18 01:44:42 -05:00
David Bolack
9b0db15083
Add Jump To hotkeys
...
This binds CTRL/META-J to brewJump and SHIFT-CTRL/META-J to sourceJump.
2024-05-17 22:10:28 -05:00
Gazook89
46c14ef23b
fix refs in editor.jsx
...
now has refs `editorWrapper` and `editor`-- the former includes the snippet bar and codemirror editor, and the latter includes only the codemirror editor.
2024-05-16 23:12:10 -05:00
Trevor Buckner
72160f5daf
missed one commit
2024-05-03 21:40:09 -04:00
Trevor Buckner
0751da42b6
Add emoji highlighting to editor
2024-05-03 21:40:08 -04:00
Gazook89
3b2a48eabf
remove + 1 from editor height
2024-04-03 22:52:16 -05:00
David Bolack
7f16da110f
Merge branch 'master' into Extended_DD
2024-03-04 11:01:49 -06:00
Trevor Buckner
774b555a61
Rework to fix 5eCleric's tests
2024-02-29 17:17:38 -05:00
David Bolack
d1d28acebb
Merge branch 'master' into Extended_DD
2024-02-25 09:15:27 -06:00
David Bolack
7d755fe2a3
Fix syntax highlighting on sub and superscript
...
I did not test this very robustly, it seems.
2024-02-23 11:35:57 -06:00
David Bolack
f3148ed53c
Fix Syntax Highlighting
...
Update changelog to match PR target shifts.
2024-02-07 20:23:19 -06:00
David Bolack
3ee9fe1c3f
Update tests.
...
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
David Bolack
993ae295af
Update editor pattern match for DLs
2024-01-07 15:40:05 -06:00
Louis David Bolack
dfd5b228c2
Merge branch 'master' into Extended_DD
2023-12-21 22:08:30 -06:00
David Bolack
eeba037244
Merge branch 'master' into Extended_DD
2023-12-06 17:10:18 -06:00
David Bolack
4c48992331
Merge branch 'master' into Issue_1488
2023-12-06 16:56:43 -06:00
David Bolack
fcb9a8cdc5
Update Editor highlighting to handle attribut assignments
2023-12-06 16:54:28 -06:00
Trevor Buckner
6bf51cd94a
Allow both sub and super highlighting on same line
2023-12-04 21:56:08 -05:00
David Bolack
37593573ce
Merge branch 'master' into Issue_1488
2023-11-09 21:52:44 -06:00
David Bolack
b561f69dd0
Merge branch 'master' into Extended_DD
2023-11-09 21:40:24 -06:00
Louis David Bolack
a762626c53
Merge branch 'naturalcrit:master' into Issue_2171
2023-11-09 21:25:47 -06:00
Trevor Buckner
8f99712a28
Merge branch 'master' into Fold-Buttons-in-Editor
2023-11-08 17:07:04 -05:00
David Bolack
f1ca6eeee2
Near complete
2023-11-08 00:49:39 -06:00
David Bolack
e6428a3b18
Update Editor highlighting for Definition Lists
...
Fixes syntax highlighting to account for multiple definitions on a
definition list.
2023-11-07 18:07:11 -06:00
David Bolack
c58c8777f1
Add arbitrary tag attr assign. in moustaches
...
This adds the ability to include attribute values for any element that
can be altered by a moustache.
Form:
```
{attribute=value}
example:
 {position:absolute,bottom:20px,left:130px,width:220px,a=b and c,g=h}
```
In order to permit spaces, the pattern matches for moustache code had to
remove the space character as a delimiter. I believe I have adequate
compensated.
This should solve #1488
2023-11-07 17:43:24 -06:00
Gazook89
8077a91ff7
add foldAll and unfoldAll buttons to snippet bar.
2023-09-29 09:31:20 -05:00
Gazook89
f1e6a9a41e
add syntax highlighting for definition lists
2023-09-27 22:46:51 -05:00
G.Ambatte
cf3635bccc
Merge branch 'master' into addEditorThemes-#362
2023-07-11 07:38:13 +12:00
G.Ambatte
d2b2e69123
Shift Footer generation to snippet
2023-06-03 13:30:32 +12:00
G.Ambatte
c660f87dff
Load from & save to local storage
2023-04-02 17:57:11 +12:00
G.Ambatte
5e9b451e29
Pass current editor theme to SnippetBar as prop
2023-04-02 16:17:50 +12:00
G.Ambatte
b2546d908a
Shift CSS link to CodeEditor render
2023-04-02 13:19:43 +12:00
G.Ambatte
7dd1368c09
Add editorTheme to editor.jsx and downstream
2023-04-02 12:53:26 +12:00
Charlie Humphreys
6ddf0bb889
update metadata editor to include error handling
2023-01-23 09:35:19 -06:00
Gazook89
ecdcaadfa9
remove | from regexp
2022-12-05 11:25:24 -06:00
Gazook89
31d58f9075
change regex to work with safari.
2022-12-01 11:55:37 -06:00
Trevor Buckner
1cc84da976
Remove end/start bracket tracking for injectors
2022-11-16 15:42:45 -05:00
Gazook89
24debfc75c
fix regexp to not include inside of curly spans
2022-11-15 11:09:27 -06:00
Gazook89
ffe6272299
Merge branch 'master' into Add-syntax-highlighting-for-injections
2022-11-15 10:36:06 -06:00
Trevor Buckner
8016f82040
Tweak capture group order
2022-11-14 18:56:04 -05:00
Gazook89
cc58721ccd
give span tags to injection syntax for styling
2022-11-13 21:02:45 -06:00
Gazook89
03c6edf31a
change regexp to calculuschild's atomic fix
2022-11-07 10:01:22 -06:00