|
|
|
Forum
In Thunderbird 2 everything is ok, but in TB 3 "[[Cursor]]" is NOT replaced by the cursor. It also doesnt get removed. |
Could you send me the HTML-template that you use? ( emil AT hesslow DOT se ) |
Its not a HTML-Template.
But it also happens with HTML-Templates:
Sample Template I am using: Hi [[TO=firstname]]
[[CURSOR]]
Kind regards [[FROM=firstname]]
A very simple Template not working: a[[CURSOR]]b
Or even the simplest Template: a[[CURSOR]]b
BTW: Win 7 here and TB 3.0 Final. |
Little mistake - I wanted to write:
Or even the simplest Template: [[CURSOR]] |
BTW: Someone else has the same Problem. He wrote on https://addons.mozilla.org/de/thunderbird/addon/640 (in his rating)
Cursor position variable invalid
The cursor position variable invalid. (windows 7 + thunderbird 3.0) |
Do you edit your emails as HTML? Because when I tested it it worked. I don't have Windows 7 but it feels strange that that would effect. |
Yes I write HTML emails, but the same happens if I switch to plain text mails. Just tried it in Vista with the same effect.
There are no problems with TB 2 and Quicktext on Vista and Win7. (Only with TB 3 and Quicktext)
You surly tried TB3 with Quicktext... What exactly is your code when replacing the "[[Cursor]]" in TB3? |
BTW: I could test some debug or bugfix version if you want. |
I have the same issue - [[CURSOR]] doesn't work, 0.9.10.0 + TB3.0, Win2003 variable stay unchanged in the email as it is: [[CURSOR]] and cursor places to the end of the email (template). |
Samuel: My test looks like this: <b>Testing</b><br> [[FROM=firstname]]<br> [[CURSOR]]<br> asdasd<br> [[TO=firstname]]<br> [[TO=email]]<br>
But now that I think of it I did a small fix to make it possible to insert HTML-templates when you send HTML-mail even if you have set plain text in your profile. It may be that that fixed it. But I will release a new version tomorrow with that bugfix in it and hopefully that solves it. |
Your example doesnt change it. ([[CURSOR]] is not replaced - everything else is replaced) (I used insert as HTML)
BTW: I am very glad, that you care about the bug. Its a nice and fast support here. |
I've uploaded a 0.9.10.1 as a beta version. If you check the extension page there is a link under the Download button. Please test that if the new version fix it. If it doesn't could you tell me exactly what template you test with and how you insert is and so on. To see if I'm doing something different. |
The new Version does not change anything.
I looked into your code. The problem here is in Line 411 of quicktext.js: 411: gQuicktextVar.parseCursorTag(editor, newRange);
On execution of this line the following exception is thrown: [Exception... "Cannot find interface information for parameter arg 0 [wzIQuicktextVar.parseCursorTag]" nsresult: "0x80570006 (NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO)" location: "JS frame :: chrome://quicktext/content/quicktext.js :: anonymous :: line 411" data: no]
So the Cursor-Part is never executed. Perhaps the compiled Interface definitions are outdated in the package? |
I found a workaround for the problem: I commented the function call in Line 411 and put the code of the function inline at this place.
Everything works fine now. I will send you the updated plugin per mail. This is meant to be only a workaround. (I think you should look into the interface definitions.) |
The new beta version resolves the issue: quicktext_0.9.10.1 (updated on 13.12. 15:00!!!)
Everything just works. |
I also have this annoying problem. Also still with version 0.9.10.1 (within Thunderbird 2.0.0.23). I found a minimalistic example that maybe can help to fix it.
The following goes wrong: [[CURSOR]]<style></style><div>foo</div> But this one works: [[CURSOR]]<div><style></style>foo</div>
As you can see the only difference is that the <style> element is now outside the div. |
This is not the same issue. The thread is about any [[CURSOR]] Statements that do not work in TB3.
IMO you should have opened a new thread. |
I have the same problem (W7, TB3) with the just loaded and installed quicktext_0.9.10.1 . [[CURSOR]] ist not working. Where do I get the beta version, which resolves the problem?
Thanks! |
The problem is solved. I just thought I was using version 0.9.10.1, but it was 0.9.10.0. When downloading it from your homepage with the big download-button (right hand to Quicktext-pro) you get version 0.9.10.0, when using the download-button under "Extensions" you get 0.9.10.1 .
Thanks a lot for this great extension! |
I have the same problem with Quicktext 0.9.11.1 on thunderbird 16.0.2+build1-0ubuntu0.11.10.1.
I use plain text ISO-8859-1 to compose emails. My template is ------------- [[CURSOR]]
Best regards, Boris ------------- However, the text [[CURSOR]] is shown in the email.
I can't use Quicktext 0.9.11.4 as it is incompatible with TB 16. | 1 2 You need to login before posting in the forum |
|