- Code: Select all
var fo|o:String = "bar"
The | depicts the current cursor position. Then I press a key like ctrl+; and it puts a ; at the end, like:
- Code: Select all
var foo:String = "bar";
How can I do that?
var fo|o:String = "bar"var foo:String = "bar";self.view.insert(edit, self.view.line(self.view.sel()[0].begin()).end(), ";")Users browsing this forum: No registered users and 11 guests