PASTE OF "ELSE IF" SNIPPET MIGHT BREAK CODE

Hi,
this seems to be a small bug: paste this vb snippet to the code editor (and please ignore that the result will not compile ;-)):
if (form1 is nothing) then
else if IstWochentag(AbwesenheitTag,"Montag") then
end if
Now, the "else if" is converted to "elseif", and the space char seems to move to the string constant, so that instead of "Montag" it is now " Montag":
If (form1 Is Nothing) then
ElseIf IstWochentag(AbwesenheitTag," Montag") then
End If
Depending on the pasted code, the space char might also be placed on other positions, causing compile errors. But in this situation, a modified string value will not be reported by the compiler - this is dangerous ;-).

Best regards
Wolfgang
Thank you for the bug report. We have reproduced this problem and will provide a hot fix shortly.
I can confirm that my use case works with the preview build that you sent me.
Many thanks for the fast fix!
Wolfgang