Skip to content

Need Help with Splitting the Selection into Lines #99

@cvladan

Description

@cvladan

Can someone please help me?
I need assistance with a script that would provide the same functionality as in Sublime Text or VSCode.

Specifically, the VSCode command "insertCursorAtEndOfEachLineSelected"
originally from Sublime Text: "Splitting the Selection into Lines", see here: Sublime Text Documentation

Simply put, I don't understand how to iterate through the lines of the current selection, regardless of whether it's a multi-edit or a classic single edit.

Thanks!

P.S. And let me not forget, thanks to the author for the useful plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions