Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Strange rendering on `insertFormatString:` with signatures

#1307

Hi Benny,

I recently tried to setup a smart reply key binding using insertFormatString: as follows (see My Custom Key bindings):

"r"    = ( "reply:", "insertFormatString:",      "\nDear ${to.name.first},\n\n"); /* Smart reply */

I have also configured a signature for my mails:

Best regards,

-----------------------------

    Sebastien Varrette, PhD

In general, things works as expected yet it happens from time to time that the string is inserted in the middle of the signature, as follows:

Best regard
Dear Jf & al.,

s,

-----------------------------

    Sebastien Varrette, PhD

Any hint?

Reported by Sebastien Varrette · November 11th, 2015 @ 08:46 PM

State: cantreproduce
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to cantreproduce

    Looks like a side effect of a bad initial caret position. There was a bug which might have done this. Try the latest test version: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane.

    November 12th, 2015 @ 09:29 AM

  2. Sebastien Varrette
    Sebastien Varrette

    Unfortunately, I still have the same behavior on Version 1.9.3 (5168)

    November 12th, 2015 @ 10:19 AM

  3. Sebastien Varrette
    Sebastien Varrette

    Also confirmed with 1.9.3 (5180) -- I still have this issue.

    November 20th, 2015 @ 11:22 PM

  4. benny
    benny

    If you just reply is the caret then placed correctly, that is, not in the middle of the signature?

    November 20th, 2015 @ 11:23 PM

  5. Sebastien Varrette
    Sebastien Varrette

    You mean with the "reply" button rather that the shortcut?
    Then no, the caret is still badly placed (between the 'd' and the 's' of "Best regards," which is coherent with the (bad) insertion.

    So still the same on Version 1.9.3 (5187)

    November 30th, 2015 @ 01:55 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.