Repository navigation
2534 Add syntax highlighting and line numbers to the input files editor - #2535
Conversation
martastn
marked this pull request as draft
November 14, 2026 18:56
martastn
force-pushed
the
2534-input-files-editor-has-no-syntax-highlighting-or-line-numbers
branch
2 times, most recently
from
November 16, 2026 18:28
c87bc1c to
c6f9341
Compare
martastn
marked this pull request as ready for review
November 16, 2026 18:28
martastn
force-pushed
the
2534-input-files-editor-has-no-syntax-highlighting-or-line-numbers
branch
4 times, most recently
from
November 19, 2026 21:22
00964e4 to
6c89cf1
Compare
martastn
force-pushed
the
2534-input-files-editor-has-no-syntax-highlighting-or-line-numbers
branch
2 times, most recently
from
November 19, 2026 21:28
83a0a2f to
e2352da
Compare
martastn
force-pushed
the
2534-input-files-editor-has-no-syntax-highlighting-or-line-numbers
branch
from
November 22, 2026 16:50
e2352da to
24d7a9a
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2534
Depends on #2490 (built on its branch, it changes the
InputFilesEditoradded there). Until #2490 is merged, this PR targets its branch.Changes:
@uiw/react-codemirror): line numbers, search (Ctrl/Cmd+F), light and dark theme. Large files are loaded whole and editable (the 100 kB limit is gone). The editor is loaded lazily, so the main bundle does not grow.inputFileLanguages.ts):.dat,.inp,.mac: own grammars for SHIELD-HIT12A, FLUKA and Geant4 macros;.gdml,.json,.py,.yaml, … ~100):@codemirror/language-data, loaded on demand;searchPanelTheme.ts).@marijn/find-cluster-breakto its CommonJS build.