Hi,
I want to add a default after creating a text file, but do not know how I can set the cursor at end of file
The current code is:
...
content = "<?php\n/**\n *\n */\n\nif ( ! defined( 'ABSPATH' ) ) exit;\n"
self.view.insert(edit, 0, content)
...