Mercurial > pidgin.yaz
comparison finch/plugins/gnttinyurl.c @ 28979:c31707e63726
Fix reset-formatting for some cases.
When 'wbfo' (whole buffer formatting only) is set for an imhtml:
- always reset formatting of all the text in the imhtml
When 'wbfo' is not set:
- if some text is selected, reset formatting for the selected text
- if no text is selected, reset formatting for the current location
(insert) only, and leave the rest of the text alone.
We were doing this last thing wrong. Fixes #4499.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 08:02:10 +0000 |
parents | 6b328370cad0 |
children | 904686722499 |
comparison
equal
deleted
inserted
replaced
28976:38dd50309ba4 | 28979:c31707e63726 |
---|