-
Notifications
You must be signed in to change notification settings - Fork 4
Collapsed block not shown at start of end of text. #24
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
Comments
The original diff on a command line diff -u a.txt b.txt looks almost the same like now the sequence matcher. So I like your idea of having trimEqual as an option. |
Ok. I've researched a lot of code, but many code still remains Hocus pocus. 😅 I'll also re-add the long Chinese line to the same commit. |
Commit 98d993e also has some test added for |
@JBlond Any chance to test the collapsing feature yet? |
Yepp, for me it works great. |
@DigiLive If you are fine with all your changes open another pull request. |
As mentioned here...
A block that would normally collapse, but its position is at the start or end of the text, will not be shown as collapsed. Those lines are NOT rendered at all.
An indication for the block being collapsed from the start/to the end of the text should be visible or these blocks shouldn't be collapsed at all.
E.g.
The text was updated successfully, but these errors were encountered: