Under Community Review

Delete to final punctuation

"Ctrl D" is useful - deletes everything from cursor to the end of the segment. A function (with keyboard shortcut) that deletes to just before the last character (i.e. in most cases the full stop or other punctuation) would be a nifty addition. When I've finished translating/editing a segment I nearly always delete the remains of the suggested translation with CtrlD, and then retype the full stop.

Parents
  • Hi James,

    That sounds like a good idea. While we wait for this to be implemented, maybe you'll find this AutoHotkey script useful, as it achieves just what you're looking for.

    Hotkey: Press Alt+D

    !d::  ;delete from cursor to end of segment, preserve punctuation

    Send ^+!{PgDn}

    Sleep 100

    Send +{Left}

    Sleep 100

    Send {Delete}

    Return

Comment
  • Hi James,

    That sounds like a good idea. While we wait for this to be implemented, maybe you'll find this AutoHotkey script useful, as it achieves just what you're looking for.

    Hotkey: Press Alt+D

    !d::  ;delete from cursor to end of segment, preserve punctuation

    Send ^+!{PgDn}

    Sleep 100

    Send +{Left}

    Sleep 100

    Send {Delete}

    Return

Children
No Data