overleaf/services/web/frontend/js
David 9cf94e57d3 Include \def, \let, \newenvironment and \renewenvironment commands in the math preview (#20197)
* Include \def commands in command definitions

* Allow command name to be in CtrlSym

* Pull nodeIntersectsChange check out of branches

* Fix \def handling

* Add handling for \newenvironment and \renewenvironment

* Allow \def to have optional arguments

* :x
Revert "Add handling for \newenvironment and \renewenvironment"

This reverts commit a70d3a0a13ed552daf3b761893e3f8609f0b0fc8.

* Add let commands to defintions

* Add environment names to math preview

* Ignore let command definitions in autocomplete

* Move nodeIntersectsChange check back into each block

* Add childOfNodeWithType utility and use to get command names

* commandNameText -> commandName

* Only include environment definitions

* Rename documentEnvironmentNames to documentEnvironments

* EnvironmentName -> Environment

* Format

GitOrigin-RevId: 9c5d701423ae786e5ff91960b4bcd94cd35d21c8
2024-09-17 08:04:53 +00:00
..
features Include \def, \let, \newenvironment and \renewenvironment commands in the math preview (#20197) 2024-09-17 08:04:53 +00:00
ide feat: making highlighting of errors more specific (#19963) 2024-09-04 08:04:48 +00:00
infrastructure Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client 2024-08-22 08:05:13 +00:00
main Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
pages Merge pull request #20071 from overleaf/mf-plans-page-click-currency 2024-09-05 08:06:26 +00:00
shared Merge pull request #20233 from overleaf/mj-restore-promo 2024-09-09 08:05:01 +00:00
utils Merge pull request #20140 from overleaf/rd-footer-react 2024-08-30 08:04:29 +00:00
vendor/libs Merge pull request #19455 from overleaf/jpa-metrics 2024-07-19 08:04:34 +00:00
bootstrap-3.ts Upgrade jQuery to v3 (#18984) 2024-08-02 08:04:48 +00:00
bootstrap-5.ts Merge pull request #18276 from overleaf/td-bs5-load-js 2024-05-16 08:04:59 +00:00
dev-toolbar.js Merge pull request #15808 from overleaf/ab-split-test-dev-toolbar 2023-11-24 09:04:40 +00:00
i18n.js Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
marketing.js Merge pull request #18996 from overleaf/td-bs5-nav-react 2024-08-22 08:05:03 +00:00
tracing.js Merge pull request #10279 from overleaf/jpa-tracing-optimizations 2022-11-04 09:05:00 +00:00