overleaf/services/web/frontend/js/features/source-editor
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
..
commands Add text formatting commands to the LaTeX grammar (#19607) 2024-08-02 08:06:11 +00:00
components Upgrade @codemirror dependencies (#20103) 2024-09-04 08:05:07 +00:00
context/review-panel Add review panel context providers and components (#19490) 2024-08-13 08:04:20 +00:00
extensions Include \def, \let, \newenvironment and \renewenvironment commands in the math preview (#20197) 2024-09-17 08:04:53 +00:00
hooks feat: making highlighting of errors more specific (#19963) 2024-09-04 08:04:48 +00:00
languages Include \def, \let, \newenvironment and \renewenvironment commands in the math preview (#20197) 2024-09-17 08:04:53 +00:00
lezer-bibtex Merge pull request #19253 from overleaf/mj-bibtex-linter 2024-07-15 09:01:21 +00:00
lezer-latex Merge pull request #19882 from overleaf/mj-tcblisting 2024-08-14 08:04:59 +00:00
themes Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
utils Include \def, \let, \newenvironment and \renewenvironment commands in the math preview (#20197) 2024-09-17 08:04:53 +00:00