diffplex icon indicating copy to clipboard operation
diffplex copied to clipboard

LineNumberWidth error occured

Open kykm1307 opened this issue 3 years ago • 2 comments

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

kykm1307 avatar Sep 02 '21 05:09 kykm1307

@kingcean can you take a look?

mmanela avatar Sep 04 '21 13:09 mmanela

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).

kingcean avatar Sep 04 '21 14:09 kingcean