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

LineNumberWidth error occured #85

Open
kykm1307 opened this issue Sep 2, 2021 · 2 comments
Open

LineNumberWidth error occured #85

kykm1307 opened this issue Sep 2, 2021 · 2 comments

Comments

@kykm1307
Copy link

kykm1307 commented Sep 2, 2021

I had use diffplex.wpf from nuget to implement into my windows form project. However it prompt this error.
Annotation 2021-09-02 134435
and when I run as single view it wont show words as screenshot below
Annotation 2021-09-02 134630

@mmanela
Copy link
Owner

mmanela commented Sep 4, 2021

@kingcean can you take a look?

@kingcean
Copy link
Contributor

kingcean commented Sep 4, 2021

Hi @kykm1307 could you please share your code about it to me if you don't mind? Or compare it with the one in demo?

I have tested it by modifying the demo code, but it looks good in my dev environment. It initializes an instance of DiffPlex.WindowsForms.Controls.DiffViewer control class and sets LineNumberWidth as an Int32 value.

Screenshot 2021-09-04 224954

The binary of the original demo is here (net5.0-windows\DiffPlex.WindowsForms.Demo.exe).

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

3 participants