Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

[SD 5.1.0 build 5134] Event method generation using Designer, unexpected behavior

$
0
0

Hello!

To reproduce the issue, we need to create WinForms C# project, place two buttons on the form using Designer and double click each button to generate ButtonClick events in code editor. See the result below:

 

 

Unfortunately, there is no empty line between generated methods (SD 4.4.2 will place empty line between methods in this situation). The second problem - generated methods has wrong indents, so the cursor is also placed in a wrong position (see the screenshot above). I tried to generate event methods pressing the "Enter" near appropriate event row in Properties window, but the result was the same.

Is this a bug, or I can fix it using program settings?

 

System information:

Windows 7 x64

SharpDevelop 5.1.0 build 5134


Viewing all articles
Browse latest Browse all 1764

Trending Articles