dail8859 / dail8859/LuaScript

Need Help with Splitting the Selection into Lines

未关闭
#99 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
129
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。