Charlie Humphreys
602ff67f3c
Add style for tabs to show tabs differently from spaces in the code editor
...
#1622
2021-11-11 22:38:27 -06:00
Charlie Humphreys
278a4d35c7
Adjust calling of removeLineClass to limit the classes it removes
...
#1201 #1202
2021-11-11 21:47:15 -06:00
Charlie Humphreys
ea68e4778e
Merge branch 'code-folding' into codemirror-tweaks
2021-11-11 21:16:40 -06:00
Charlie Humphreys
2d30ac21a7
Update code based on PR feedback
...
#692
2021-11-11 17:08:05 -06:00
Charlie Humphreys
da6b00918d
Add addons for code search, auto-closing code, active line highlight, and trailing whitespace
...
#1201 #1202
2021-11-10 17:11:00 -06:00
Charlie Humphreys
52d7e6892b
Adjust comment to better describe the require section
...
#629
2021-11-10 11:37:18 -06:00
Charlie Humphreys
cac9e208df
Update editor.jsx to only clear marks that are not folds
...
#629
2021-11-10 10:27:32 -06:00
Charlie Humphreys
c86e8c51cb
Remove code added for debugging purposes
...
#629
2021-11-10 10:26:55 -06:00
Charlie Humphreys
3abb399045
Update homebrewery fold helper to allow folding the last page to the end of the document
...
#629
2021-11-09 10:08:48 -06:00
Charlie Humphreys
b06dedfa4a
Fix linting issues
...
#629
2021-11-08 17:24:33 -06:00
Charlie Humphreys
f3d0d3e2c9
Add new library files to the browserify lib array
...
#629
2021-11-08 17:24:22 -06:00
Charlie Humphreys
eec6e66543
Replace copied code with require methods to import the CodeMirror helpers
...
Put back the correct require notation for importing the foldcode and foldgutter helpers
#629
2021-11-07 21:35:35 -06:00
Charlie Humphreys
c0b9f4488f
Add code folding feature for all content within a single page
...
Added the gutter definitions and css for code folding. Enabling code folding in the editor was
tricky due to how CodeMirror loads its files. At the moment, the CodeMirror code-folding code has
been copied into the fold-code.js file. Additionally, that file contains the helper registration
for the Homebrewery-specific code folding function.
#629
2021-11-02 22:40:17 -05:00