User Activity

  • Modified a comment on ticket #1570 on Scintilla

    Thanks for the pointer. This is my script: function CopySelectedVisibleLines() local startLine = editor:LineFromPosition(editor.SelectionStart) local endLine = editor:LineFromPosition(editor.SelectionEnd) local lineTexts = {} local lineText = "" for line = startLine, endLine do if editor.LineVisible[line] then lineText = editor:GetLine(line) table.insert(lineTexts, lineText) end end editor:CopyText(table.concat(lineTexts)) end Please close the ticket.

  • Modified a comment on ticket #1570 on Scintilla

    Thanks for the pointer. This is my script: function CopySelectedVisibleLines() local startLine = editor:LineFromPosition(editor.SelectionStart) local endLine = editor:LineFromPosition(editor.SelectionEnd) local lineTexts = {} local lineText = "" for line = startLine, endLine do if editor.LineVisible[line] then lineText = editor:GetLine(line) table.insert(lineTexts, lineText) end end editor:CopyText(table.concat(lineTexts)) end

  • Modified a comment on ticket #1570 on Scintilla

    Thanks for the pointer. This is my script: function CopySelectedVisibleLines() local startPos = editor.SelectionStart local endPos = editor.SelectionEnd local startLine = editor:LineFromPosition(startPos) local endLine = editor:LineFromPosition(endPos) local lineTexts = {} for line = startLine, endLine do local visible = editor.LineVisible[line] if visible then local lineText = editor:GetLine(line) table.insert(lineTexts, lineText) end end editor:CopyText(table.concat(lineTexts)) end

  • Modified a comment on ticket #1570 on Scintilla

    Thanks for the pointer. I used the following code: function CopySelectedVisibleLines() local startPos = editor.SelectionStart local endPos = editor.SelectionEnd local startLine = editor:LineFromPosition(startPos) local endLine = editor:LineFromPosition(endPos) local lineTexts = {} for line = startLine, endLine do local visible = editor.LineVisible[line] if visible ~= 0 then local lineText = editor:GetLine(line) table.insert(lineTexts, lineText) end end -- Join and put into clipboard editor:CopyText(table.concat(lineTexts))...

  • Modified a comment on ticket #1570 on Scintilla

    Thanks for the pointer. I tried to use message SCI_GETLINEVISIBLE (see [1]) but got the error Pane function / readable property / indexed writable property name expected with the following code: function CopySelectedVisibleLines() local editor = editor local startPos = editor.SelectionStart local endPos = editor.SelectionEnd local startLine = editor:LineFromPosition(startPos) local endLine = editor:LineFromPosition(endPos) local result = {} for line = startLine, endLine do -- Query Scintilla directly:...

  • Posted a comment on ticket #1570 on Scintilla

    Thanks for the pointer. I tried to use message SCI_GETLINEVISIBLE (see [1]) but got the error Pane function / readable property / indexed writable property name expected with the following code: function CopySelectedVisibleLines() local editor = editor local startPos = editor.SelectionStart local endPos = editor.SelectionEnd local startLine = editor:LineFromPosition(startPos) local endLine = editor:LineFromPosition(endPos) local result = {} for line = startLine, endLine do -- Query Scintilla directly:...

  • Created ticket #1570 on Scintilla

    Option to copy only matching lines to clipboard in filter view

  • Posted a comment on ticket #2490 on Scintilla

    It worked with w64devkit 2.4.0 [1], which ships gcc 15.2.0. [1] https://github.com/skeeto/w64devkit

View All

Personal Data

Username:
georger_br
Joined:
2004-07-20 15:29:55

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB