Mercurial > pidgin.yaz
view libpurple/plugins/mono/loader/mono-glue.h @ 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 | 32c366eeeb99 |
children |
line wrap: on
line source
#ifndef _PURPLE_MONO_LOADER_GLUE_H_ #define _PURPLE_MONO_LOADER_GLUE_H_ #include <mono/jit/jit.h> #include <mono/metadata/object.h> #include <mono/metadata/environment.h> #include <mono/metadata/assembly.h> void purple_debug_glue(int type, MonoString *cat, MonoString *str); int purple_signal_connect_glue(MonoObject *h, MonoObject *plugin, MonoString *signal, MonoObject *func); MonoObject* purple_blist_get_handle_glue(void); MonoObject* purple_blist_build_buddy_object(void* buddy); MonoObject* purple_status_build_status_object(void* data); #endif