Menu

#502 Format /beautifier of new feature matching begin/end code is not working with some cases, besides it is broken in 2.0.1

v1.0_(example)
closed-fixed
nobody
None
5
2017-07-14
2017-07-10
No

Dear SVeditor developers,

I find the new feature of SVeditor about matching begin/end words amazing.
This helps yout to detect errors in loops and nested code very easy.

I have also changed the default matching begin/end color to red color and it is even better to notice and see how it works. See my attached picture with example. That is also a nice feature. Thanks.

Ok, now i will describe the problem i have detected.
if you put the begin without a space after a parenthesis, then the matching will not be correctly detected.
For example,

if ((blabla==1))begin
//this begin<->end match will not be detected because the "begin" has no space
end
//another example
if ((blabla==1))begin  //this begin<->end match will not be detected because "end" is without a space
a=1;end

The begin/end matching feature is broken in the SVeditor version 2.0.1. At least, it is not showed anymore.
Please, could you correct this? As i said, this feature is very useful.

Best regards,
Jonathan

1 Attachments

Discussion

  • StevenAZ

    StevenAZ - 2017-07-14
    • status: open --> closed-fixed
     
  • StevenAZ

    StevenAZ - 2017-07-14

    Fixed in 2.0.2

    Thanks for the testcase. If you see other issues please re-open the ticket and I'll take a look.

     

Log in to post a comment.