User Activity

  • Posted a comment on ticket #2507 on Scintilla

    Sorry for that additional noise. Got carried away. Here are the two cleaned patches: --- scintilla/win32/ScintillaWin.cxx +++ scintilla/win32/ScintillaWin.cxx @@ -3074,36 +3074,44 @@ bool SupportedFormat(const FORMATETC *pFE) noexcept { } void ScintillaWin::Paste() { - Clipboard clipboard(MainHWND()); - if (!clipboard) { - return; - } - UndoGroup ug(pdoc); - const bool isLine = SelectionEmpty() && - (::IsClipboardFormatAvailable(cfLineSelect) || ::IsClipboardFormatAvailable(cfVSLineTag)); - ClearSelection(multiPasteMode...

  • Modified a comment on ticket #2302 on Scintilla

    I tried Neil's suggested approach: add more than one space at a time, but conservatively. The patch only changes end-of-line padding in rectangular paste. If the target x position is beyond the line end, it estimates the missing spaces from the current style's space width, inserts slightly fewer spaces than estimated, measures again, and then lets the existing one-space loop finish exactly. This should avoid overshoot because the final alignment still uses the existing XFromPosition loop. The maximum...

  • Modified a comment on ticket #2302 on Scintilla

    I tried Neil's suggested approach: add more than one space at a time, but conservatively. The patch only changes end-of-line padding in rectangular paste. If the target x position is beyond the line end, it estimates the missing spaces from the current style's space width, inserts slightly fewer spaces than estimated, measures again, and then lets the existing one-space loop finish exactly. This should avoid overshoot because the final alignment still uses the existing XFromPosition loop. The maximum...

  • Modified a comment on ticket #2302 on Scintilla

    I tried Neil's suggested approach: add more than one space at a time, but conservatively. The patch only changes end-of-line padding in rectangular paste. If the target x position is beyond the line end, it estimates the missing spaces from the current style's space width, inserts slightly fewer spaces than estimated, measures again, and then lets the existing one-space loop finish exactly. This should avoid overshoot because the final alignment still uses the existing XFromPosition loop. The maximum...

  • Created ticket #2507 on Scintilla

    Blocked clipboard while pasting (Windows)

  • Posted a comment on ticket #2302 on Scintilla

    I tried Neil's suggested approach: add more than one space at a time, but conservatively. The patch only changes end-of-line padding in rectangular paste. If the target x position is beyond the line end, it estimates the missing spaces from the current style's space width, inserts slightly fewer spaces than estimated, measures again, and then lets the existing one-space loop finish exactly. This should avoid overshoot because the final alignment still uses the existing XFromPosition loop. The maximum...

  • Created ticket #2302 on Scintilla

    Slow performance when pasting block selection

View All

Personal Data

Username:
realmalware
Joined:
2021-12-14 10:24:59.989000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB