Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text search not working for larger nomnoml diagrams #218

Open
bjdmeest opened this issue Feb 22, 2024 · 1 comment
Open

Text search not working for larger nomnoml diagrams #218

bjdmeest opened this issue Feb 22, 2024 · 1 comment

Comments

@bjdmeest
Copy link

When having a nomnoml diagram of more than, e.g. 100 lines, and using CTRL-F to search for a term, this can't be found.
This probably due to a editor optimization that unloads lines of code that aren't in the viewport, but makes it harder to locate specific nodes within larger diagrams.

I understand this is most probably due to how CodeMirror works (and afaict, not resolvable https://discuss.codemirror.net/t/viewport-issues-with-cm-6/3586 ) , but just wanted to flag it to see if I would have missed something

@skanaar
Copy link
Owner

skanaar commented Feb 22, 2024

I was not aware of this behavior. Unfortunate. Perhaps there is a CodeMirror plugin that can replace the browser search with a CodeMirror-aware search with a custom UI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants