editor: fix incorrect variable reference
The variable used for setting the cursor isn't used anymore and was used uninitialized. It's simply deleted now and the correct var is used. This was only a problem if editor_insert_text_block() was used directly, the snippet code path doesn't reach to it.
Showing
Please
register
or
sign in
to comment