Alf Eaton
5871978272
Use renderMessage ( #16628 )
...
GitOrigin-RevId: 9f627a31d0f8ffce841f04f5a9bfa09f6abcd0a3
2024-01-24 09:04:08 +00:00
David
29bfdae57d
Merge pull request #16523 from overleaf/dp-editable-file-extensions-2
...
Make cfg, ltx, Rnw and inc files editable in the editor
GitOrigin-RevId: 1999c29ea451aa3f362ffa09f6f4d5889beaf404
2024-01-17 09:03:53 +00:00
Domagoj Kriskovic
e27abe56b8
Show argument completions even if it has more than 245 chars ( #16352 )
...
* Show argument completions even if it has more than 255 chars
* use tokenBefore for existingKeys
* use 'ShortArg' token so braces are escaped
* refactor argument completion logic
* remove extra filter
* Add makeMultipleArgumentCompletionSource for arguments with multiple keys
* revert makeArgumentCompletionSource
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: f5aa70fe5e58e04efe0c4e8668957f61a7fa7911
2024-01-09 09:03:40 +00:00
Alf Eaton
cdd9ff9ed0
Migrate extension to @overleaf/codemirror-tree-view
( #15769 )
...
GitOrigin-RevId: 8355158040923a55dafc7b1c3f566f7e7703cb02
2023-11-20 09:03:35 +00:00
Alf Eaton
54c55360c4
Remove completion and shortcut event logging ( #15633 )
...
GitOrigin-RevId: 35eedb7b18200badef8226eecc58b3c35344f256
2023-11-07 12:34:56 +00:00
Jakob Ackermann
d4a271b898
Merge pull request #15062 from overleaf/jpa-worker
...
[web] bring back file extension for worker entrypoints
GitOrigin-RevId: 93c2a59e5bc867460e82f3e7023d9cbfce1f16e1
2023-10-16 08:03:59 +00:00
Alf Eaton
04a4450341
Avoid auto-closing $ directly before a TeX command ( #15039 )
...
GitOrigin-RevId: e620d6b5c82e179c294930801a95fc4c2c77db57
2023-10-05 08:04:46 +00:00
Alf Eaton
b3b31fb052
[cm6] Match uppercase file extensions in the include autocomplete ( #14956 )
...
GitOrigin-RevId: eb6898ef031dcc05f9fcb530fd4578ffda234a14
2023-10-03 08:04:09 +00:00
Jakob Ackermann
9daa8f5d98
Merge pull request #15040 from overleaf/jpa-js-to-jsx
...
[web] rename all the JSX files to .jsx/.tsx
GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Alf Eaton
cb1b5b7d54
[cm6] Move figure paste handler to core LaTeX extensions ( #14957 )
...
GitOrigin-RevId: 2dd6b036c5e9122a7e7564d4246f10444ba593e3
2023-09-28 08:04:32 +00:00
Jakob Ackermann
d76c0e2688
Merge pull request #14991 from overleaf/jpa-log-tree
...
[web] consolidate logTree helper into scripts folder
GitOrigin-RevId: d98a04f1753ba485f835312198f4c79917f7566d
2023-09-28 08:04:17 +00:00
Jakob Ackermann
1213709578
Merge pull request #14980 from overleaf/jpa-debug-console
...
[web] migrate frontend logging to debugConsole
GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
Brian Gough
45ca0f796c
Merge pull request #14934 from overleaf/revert-14926-revert-14121-bg-best-allow-underscore-in-hyperref-labels
...
Revert "Revert "allow underscore in hyperref labels""
GitOrigin-RevId: f7b2dd418fa9c0940b778604ed08eccab78f97d2
2023-09-27 08:04:01 +00:00
Mathias Jakobsen
ec563e75e2
Merge pull request #14875 from overleaf/mj-linter-href
...
[web] Allow url characters in href argument in linter
GitOrigin-RevId: c62ee94003328286d1b1c2b3f9e8ee59f97f8139
2023-09-25 08:04:49 +00:00
Brian Gough
be8474c18e
Revert "allow underscore in hyperref labels" ( #14926 )
...
GitOrigin-RevId: 843ac214580c00c4a7593b512cfb27b7bf56717e
2023-09-22 08:03:48 +00:00
Domagoj Kriskovic
f7cf7b9028
[cm6] Include affiliation in document preamble ( #14824 )
...
* [cm6] Include affiliation in document preamble
* add affil command
* Add mapping to attributeValue
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 6034e07bc5fec23ea704d820acbbe4e77caba651
2023-09-21 08:04:09 +00:00
Brian Gough
1ef6c70258
Merge pull request #14121 from overleaf/bg-best-allow-underscore-in-hyperref-labels
...
allow underscore in hyperref labels
GitOrigin-RevId: c4e0cfcdef92dec959dceba9a7ae55920812fdb0
2023-09-21 08:03:52 +00:00
Alf Eaton
daec475bb2
[cm6] Remove .extension from extension definitions ( #14694 )
...
GitOrigin-RevId: c15fee6b8d3b80cd32d2c3885dc885179e2a3a5b
2023-09-12 08:04:08 +00:00
Alf Eaton
06aa92d0fd
Only exclude the current command from autocompletion ( #14367 )
...
GitOrigin-RevId: 1f1dc0f2c3bcd19b12e06ec56d2d82181b0b5c6d
2023-08-18 08:05:09 +00:00
Alf Eaton
fbb0ab210e
[cm6] Configure "4 spaces" as the indent unit for all files ( #14366 )
...
GitOrigin-RevId: 5aed6bc5abfd194c11830bdedcbba65ef1ed0522
2023-08-18 08:05:04 +00:00
Alf Eaton
253f2c53d5
[visual] Show tooltip with target for linkable nodes ( #13636 )
...
GitOrigin-RevId: c236caff7560d8d3e4f53667c7abe27b57f7711d
2023-08-14 08:05:09 +00:00
Alf Eaton
f8f56cea89
[cm6] Add LineBreak to LaTeX grammar, highlight and decorate ( #13742 )
...
GitOrigin-RevId: 64c54676e0284b7187678eedcc5096b1aa284cc0
2023-08-04 08:05:26 +00:00
Alf Eaton
b0b829f69b
Add syntax highlighting for Ampersand nodes ( #13737 )
...
GitOrigin-RevId: 39c81ecb765adc4b33244b5f0f1eab81594dcba1
2023-07-17 11:04:30 +00:00
Alf Eaton
e7d36903bb
[cm6] Add Tilde to the LaTeX grammar ( #13740 )
...
GitOrigin-RevId: 98a2e968056ba4d6e36310d4ea0f7ff2f25e373a
2023-07-17 11:04:21 +00:00
Alf Eaton
e86c5dc137
[cm6] Add analytics for bold and italic shortcuts ( #13785 )
...
GitOrigin-RevId: 62f2f9976778083b7ca6566f79e3d055585e7bb7
2023-07-17 11:04:01 +00:00
Alf Eaton
34fa28c90b
Hide most toolbar buttons for non-latex documents ( #13725 )
...
GitOrigin-RevId: 3bf487d86d1a465a1653b40891277380270ea7ff
2023-07-17 11:03:16 +00:00
ilkin-overleaf
debb438128
Merge pull request #13691 from overleaf/mj-linter-error
...
[cm6] Fix error in linter on input command
GitOrigin-RevId: 87c640ec6bd0e9d5942e6348616e0858d5bb07be
2023-07-17 10:57:02 +00:00
Alf Eaton
0dc9aa3d21
Improve CM6 dev tools extension ( #13712 )
...
GitOrigin-RevId: 3af5e051cb3fed322d980ba71d3ec1fc9817f8e3
2023-07-17 10:56:23 +00:00
Alf Eaton
7202d7413e
[rich text] Cover the whole command when selecting end-to-end ( #11683 )
...
GitOrigin-RevId: c3559ce68798047e7001b2a9857f2c168633af6c
2023-07-17 10:50:12 +00:00
Alf Eaton
a716a500c5
Merge pull request #13607 from overleaf/ae-formatting-keymaps
...
[cm6] Use toggleRanges for bold/italic shortcuts in code editor
GitOrigin-RevId: 90f7344876e84b984469ca2daccb7bbe71d89aa9
2023-07-17 10:49:34 +00:00
Mathias Jakobsen
67e7621633
Merge pull request #13572 from overleaf/mj-bibtex-grammar
...
[cm6] Add support for bibtex
GitOrigin-RevId: 28bc8e47c53df1612c1e30cf690e893b0bbf500c
2023-07-17 10:47:59 +00:00
Alf Eaton
adbccde085
[cm6] Move cursor over existing closing brace when inserting a required parameter ( #13494 )
...
* Move cursor over existing closing brace
* Update package-lock.json
* Update tests
GitOrigin-RevId: dd729e41c2174d9f4563f2f47efcc075c7453ced
2023-07-17 10:44:06 +00:00
Alf Eaton
e025088065
Merge pull request #13241 from overleaf/ae-extensions-documentation
...
Add documentation for CodeMirror extensions
GitOrigin-RevId: e5f07084173f201919272f9d46dcdaef4b817874
2023-07-17 10:28:53 +00:00
Domagoj Kriskovic
174761850b
[cm6] snippet using the same label as in figure modal ( #13239 )
...
* [cm6] snippet using the same label as in figure modal
* remove ace editor change
GitOrigin-RevId: 076d8b09ebdf61f992e9d3ce37fab84df38524ee
2023-06-01 08:04:07 +00:00
Alf Eaton
c7544531c1
Add needsRefresh to lint source config ( #13050 )
...
GitOrigin-RevId: bc6880f87bc81c7f0f022268a4d070c267421c46
2023-05-17 08:05:36 +00:00
Mathias Jakobsen
31190b967b
[cm6] Add figure modal ( #12751 )
...
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
2023-05-16 08:04:02 +00:00
Alf Eaton
ea996582bf
[cm6] Improve begin environment autocompletion ( #12982 )
...
GitOrigin-RevId: 42731e6f2261f7ed9b85523a550c636968698fc3
2023-05-11 08:05:37 +00:00
Alf Eaton
f2f7f6b7d6
[cm6] Add beginEnvironmentCompletionSource ( #12913 )
...
GitOrigin-RevId: eb4582606103268f1f2c90da7d372a0a33926e36
2023-05-08 08:04:26 +00:00
Alf Eaton
b1929cf16d
[cm6] Improve symbol completion ranking ( #12902 )
...
GitOrigin-RevId: 8ccc87c2b86636bd37a3472d36873ade9a190209
2023-05-08 08:04:09 +00:00
Alf Eaton
0fba9dc374
Add a $CtrlSym group to the latex language ( #12919 )
...
GitOrigin-RevId: 4ee8ba7fe85f37dbe4cab04dae699b2a66007a2d
2023-05-08 08:03:51 +00:00
Alf Eaton
6c21f0821c
[cm6] Handle multiple selection ranges when applying snippets ( #12830 )
...
* Use fork of @codemirror/autocomplete
* Handle multiple selection ranges when applying snippets
GitOrigin-RevId: 04afc087ac127206463ea3d4950284a50308364a
2023-05-04 08:04:39 +00:00
Alf Eaton
2606c76aec
Merge pull request #12805 from overleaf/ae-markdown-types
...
[cm6] Fix type for Markdown language loader
GitOrigin-RevId: 725e1b28dd73e9090638f5d682e48e658c957a04
2023-05-01 08:04:45 +00:00
Brian Gough
70072481f4
Merge pull request #12783 from overleaf/ae-dev-tools-localstorage
...
[cm6] Use customLocalStorage in CM6 dev tools
GitOrigin-RevId: df4c40868b5a7b24b30483d55d1fbe75b5703776
2023-04-26 08:04:12 +00:00
Alf Eaton
4bb582bdd8
[cm6] Improve Tab behaviour in read-only mode ( #12715 )
...
* Improve Tab behaviour in read-only mode
* Remove Tab shortcuts from Markdown configuration
GitOrigin-RevId: 9eb804fcf820b37b371b1c351cfbdf7bff1ced89
2023-04-25 08:05:10 +00:00
Mathias Jakobsen
462837b44d
Merge pull request #12701 from overleaf/dk-cm6-autocomplete-item-space
...
[cm6] Add space after item autocomplete
GitOrigin-RevId: 6fff77c0c0563530af981bbac73b1d88e02bb759
2023-04-21 08:03:08 +00:00
Mathias Jakobsen
c2292a8567
Merge pull request #12677 from overleaf/ae-codemirror-view-upgrade
...
[cm6] Upgrade CodeMirror dependencies
GitOrigin-RevId: cc973b1c5b23eca0fc93a9b3a970c832212e47af
2023-04-21 08:02:53 +00:00
Alf Eaton
924012e21f
[cm6] Avoid overwriting themed syntax highlighting colours when editing Markdown ( #12648 )
...
GitOrigin-RevId: ed5d558544839978862004a8b7feb80806a2100d
2023-04-19 08:03:04 +00:00
Mathias Jakobsen
7d237d0103
[cm6] Only swallow text in autocomplete insertion if node is well-formed ( #12562 )
...
* [cm6] Only swallow text in autocomplete insertion if node is well-formed
* [cm6] Use longest common prefix heuristic for autocompletion in ill-formed nodes
GitOrigin-RevId: 5adf3dc0314d86b267e2142a1250dece3ab29ef8
2023-04-17 08:05:24 +00:00
Alf Eaton
359255b820
[cm6] Use a modified fork of the closeBrackets extension ( #12573 )
...
GitOrigin-RevId: a24020ed216cb10defff989f5876666c29889de2
2023-04-17 08:04:43 +00:00
Alf Eaton
ab10fd99f5
Add CodeMirror dev tools extension ( #12142 )
...
GitOrigin-RevId: 148a0fba5faf6dc8f638fcb4666e2fda6c5c6c40
2023-04-17 08:04:09 +00:00