David Bolack
2d781f02e3
Merge branch 'master' into Issue_241_Part_II
2024-08-13 12:26:29 -05:00
Trevor Buckner
5894dc5a7a
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-11 21:59:58 -04:00
G.Ambatte
1719cc68fa
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-10 08:23:23 +12:00
G.Ambatte
f58d52c4b6
Add comma to var math split regex
2024-08-10 07:54:50 +12:00
G.Ambatte
c3e6c01ec1
Fix typo in regex
2024-08-09 15:33:28 +12:00
G.Ambatte
5bb5cdec05
Change replaceAll to use RegEx from string
2024-08-09 13:10:30 +12:00
Trevor Buckner
f1fd75574d
Merge branch 'master' into CSSFolding
2024-08-08 17:51:05 -04:00
Trevor Buckner
31352e417f
Simplify folding logic
2024-08-08 17:48:32 -04:00
Trevor Buckner
643af98ca3
Add comment
2024-08-08 17:44:16 -04:00
Trevor Buckner
3b61cd355f
Fix edge case where string was emitting data: twice.
...
Also, a case where the input is right around 50 chars. It can be truncated twice, leading to a long `.....`
2024-08-08 17:43:57 -04:00
G.Ambatte
1b71bbaefb
Remove escaping from new functions
2024-08-03 10:32:39 +12:00
G.Ambatte
fcd5279381
Enable built-in abs()
2024-08-03 10:32:18 +12:00
David Bolack
423a4a521a
Correct truncation when looking for data: in css folding
2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff
Revert "Correct truncation when looking for data: in css folding"
...
This reverts commit ad1e8d50d7 .
2024-08-02 15:25:10 -05:00
David Bolack
ad1e8d50d7
Correct truncation when looking for data: in css folding
2024-08-02 15:24:14 -05:00
David Bolack
c926f0de79
Resolve import matching suggestion.
2024-08-02 15:10:39 -05:00
G.Ambatte
e1fe640e92
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:03:27 +12:00
G.Ambatte
6f99fe7455
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:02:57 +12:00
David Bolack
957b1ed9e7
Merge branch 'master' into CSSFolding
2024-08-01 10:09:56 -05:00
G.Ambatte
251d03b7be
Merge branch 'master' into addSignedFunction-#3537
2024-07-31 20:58:40 +12:00
David Bolack
b34027699f
Move livescrollToggle function out into a class method instead of an anonymous function.
...
Adjust code accordingly ( event.target vs document.getElementByClassname )
2024-07-30 03:09:25 -05:00
David Bolack
184462616f
Merge branch 'master' into Issue_241_Part_II
2024-07-30 02:31:14 -05:00
Trevor Buckner
8221579b6a
Linting
2024-07-28 18:03:25 -04:00
Trevor Buckner
e0425ec6c0
Simplify API call url
2024-07-28 16:47:16 -04:00
Trevor Buckner
8aa88a2e45
Add proper error popup when theme fails to load
2024-07-28 16:45:01 -04:00
Trevor Buckner
113f9b3fe3
No need to stringify Theme Bundle object
2024-07-27 02:00:38 -04:00
David Bolack
d2afa7adea
Move fetchThemeBundle into /shared/helpers
...
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
David Bolack
2af2ad629d
Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
...
Remove missed debug messages.
2024-07-21 12:58:21 -05:00
David Bolack
2fc7aa454f
Add data: URL folding for CSS.
...
Regex might need tweaking to catch all cases, but it catches the basics.
2024-07-21 12:40:49 -05:00
David Bolack
fde797c044
Rename prevLine to activeLine for better reading clarity.
2024-07-20 21:51:03 -05:00
David Bolack
6693fb1c13
reduce redundant trim()s
2024-07-20 21:40:22 -05:00
G.Ambatte
aebfcc7885
Add new var math functions
2024-07-21 00:18:06 +12:00
David Bolack
2c4f3473e5
Trim the trailing { on a CSS fold.
2024-07-20 00:43:02 -05:00
G.Ambatte
9a4cc5f63e
Add @import folding
2024-07-20 14:57:09 +12:00
David Bolack
c82b62f953
Add Code folding on CSS style tab
2024-07-19 16:03:44 -05:00
David Bolack
ade819c70c
A not so light rework.
...
This removes the existing endpoints and replaces them with /theme.
/theme/:id - return a theme bundle containing all styling from this USER theme and any parents.
/theme/:engine/:id - return a theme bundle containing all styling from this STATIC theme and any parents
The theme bundle returns a marshalled JSON object containing:
styles - an array of strings representing the collected styles in loading order
snippets - an array ( currently empty ) of collected snippets.
The various bits of theme rendering code for <style> an style <link> have been swapped out with an 'onDidMount' call that loads the thendpoint and appends a series of <style> blocks to the brewRender's head.
This loses some caching advantages, but probably won't matter in the long run.
2024-07-13 12:12:05 -05:00
David Bolack
19ee3d6dbb
Merge branch 'master' into Issue_241_Part_II
2024-07-08 10:14:43 -05:00
Trevor Buckner
0a199e750f
Simplify string splitting code
...
String.split will return the substring before > or the whole string if no > exists.
2024-07-06 18:00:18 -04:00
G.Ambatte
9c4de58161
Limit htmlString to the first element ONLY
2024-07-06 13:22:47 +12:00
Trevor Buckner
8ee70b0928
Only split curly attributes on on first =, allow ?, = in attributes
2024-07-01 12:21:29 -04:00
Trevor Buckner
179e21755c
Unify some emoji CSS across fonts
2024-06-28 22:01:55 -04:00
David Bolack
7e3f2a3deb
Merge branch 'master' into Issue_241_Part_II
2024-06-27 10:24:48 -05:00
Trevor Buckner
66fdf808a6
Lint renderWarnings.less
2024-06-07 11:29:02 -04:00
G.Ambatte
866548deec
Move renderWarnings to use Dialog
2024-06-06 22:12:13 +12:00
Trevor Buckner
9285d355b2
Merge branch 'master' into propagateEventsToNavButtons
2024-06-04 10:22:12 -04:00
David Bolack
4818f70aed
Add additional visual hinting to liveScroll lock.
2024-06-03 02:36:44 -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
7fb23c7362
Pass click events to click handler
2024-05-28 16:25:39 -04:00
Trevor Buckner
8a55658bd7
Rename printPage function to printCurrentBrew()
...
Avoid confusion with other "page" components.
2024-05-28 16:11:18 -04:00