dail8859 / dail8859/LuaScript

Need Help with Splitting the Selection into Lines

Offen
#99 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
129
Forks
24
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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](https://www.sublimetext.com/docs/multiple_selection_with_the_keyboard.html#splitting-the-selection-into-lines)

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.