In the editor, I think it would be a nice feature if the user could click on the "if" of an If Statement, that the matching "else" and "end if" of that If Statement are also highlighted like when the "(" or ")" is selected. This will help the user clearly see the structure if the If Statement.
Widget
Widget