Fixed 'Bug 23109 - Semicolon is put at the end of line instead at the
position of cursor'.