Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Keep quoted text after as it is in plain-text mode - #67

Closed
guiraldelli wants to merge 1 commit into
exteditor:masterfrom
guiraldelli:patch-1
Closed

guiraldelli wants to merge 1 commit into
exteditor:masterfrom
guiraldelli:patch-1

Conversation

@guiraldelli

@guiraldelli guiraldelli commented May 14, 2020 •

Copy link
Copy Markdown
Contributor

Thunderbird adds an extra white-space in front of the lines that starts with the greater-than symbol (">"). This symbol is the quotation marker for plain-text messages.

To add the quoted text, in plain-text mode, it is necessary to call another function from the Thunderbird's interface, made specifically for this purpose.

It addresses the issue #66.

Thunderbird adds an extra white-space in front of the lines that starts with the greater-than symbol (">"). This symbol is the quotation marker for plain-text messages.

To add the quoted text, in plain-text mode, it is necessary to call another function from the Thunderbird's interface, made specifically for this purpose.
@snipsnipsnip

Copy link
Copy Markdown
Member

Thanks for the patch. Unfortunately, insertTextWithQuotations() is already removed (patch), so we can't use that function on Thunderbird 68 :(

The built add-on is here, so you can try and see if it works: https://ci.appveyor.com/project/snipsnipsnip/exteditor/builds/32876131/artifacts

We need to find another way to workaround that problem.

@guiraldelli

guiraldelli commented May 25, 2020 •

Copy link
Copy Markdown
Contributor Author

Hi, @snipsnipsnip.

Thank you for your kind and clear response.

Unfortunately, insertTextWithQuotations() is already removed (patch), so we can't use that function on Thunderbird 68 :(

The proposed patch is actually working on my Thunderbird 68.7.0 (from Ubuntu repository).
Do you know how we can find the exactly version it doesn't have it any more?

Anyhow, if there is an effort to migrate the plug-in to WebExtensions, then I think the current solution can be, in fact, ignored it is worthier to invest in that solution.
Otherwise, let me know how I can contribute with your project. :)

@snipsnipsnip

snipsnipsnip commented May 26, 2020 •

Copy link
Copy Markdown
Member

Thank you for the info. (I haven't tried Ubuntu, just Win10 and old OS X 10.6)
In that case, it's better to try insertTextWithQuotations() first and then use insertText() as a fallback. I will include that in the next version.

Anyhow, if there is an effort to migrate the plug-in to WebExtensions, then I think the current solution can be, in fact, ignored it is worthier to invest in that solution.

Yes, I'm working on it. Migration is not a complete rewrite (It will be a thin wrapper around current code), so patches to current master still helps :)

@snipsnipsnip

Copy link
Copy Markdown
Member

Superseded by #70

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants