Solution:
lineNum = editor.GetCurrentLine()
editor.Remove(editor.GetLineEndPosition(lineNum) - editor.GetLineLength(lineNum), editor.XYToPosition(0, lineNum+1))
Solution:
lineNum = editor.GetCurrentLine()
editor.Remove(editor.GetLineEndPosition(lineNum) - editor.GetLineLength(lineNum), editor.XYToPosition(0, lineNum+1))
Doesn’t editor.LineDelete()
do that?
LineDelete(self)
Delete the line containing the caret.
LoL. Didn’t notice.