Mercurial > pidgin
view plugins/perl/common/XMLNode.xs @ 12711:145f76e74a9f
[gaim-migrate @ 15055]
Fix SF Bug #1384698 - "Last word in text auto replace not changed"
This uses astro96's idea:
'when the user types something like "Hi how r u" they will see this
(where the "^" is the cursor):
"Hi how are u^"
When they hit enter to send the message, instead of sending
the message, the last word would be replaced:
[Enter]
"Hi how are you^"
and then if they hit enter again it would send the message.'
I code a preference for this, but have #if 0'ed it before committing. I don't think we need a preference to disable this. If it turns out I'm wrong, the code is right there to use.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 04 Jan 2006 03:01:32 +0000 |
parents | 6fd82071a7b8 |
children | 96f9b4798012 |
line wrap: on
line source
#include "module.h" MODULE = Gaim::XMLNode PACKAGE = Gaim::XMLNode PREFIX = xmlnode_ PROTOTYPES: ENABLE Gaim::XMLNode xmlnode_copy(class, src) xmlnode *src C_ARGS: src void xmlnode_free(node) xmlnode *node Gaim::XMLNode xmlnode_from_str(class, str, size) const char *str gssize size C_ARGS: str, size const char * xmlnode_get_attrib(node, attr) xmlnode *node const char *attr Gaim::XMLNode xmlnode_get_child(parent, name) const xmlnode *parent const char *name Gaim::XMLNode xmlnode_get_child_with_namespace(parent, name, xmlns) const xmlnode *parent const char *name const char *xmlns char * xmlnode_get_data(node) xmlnode *node Gaim::XMLNode xmlnode_get_next_twin(node) xmlnode *node void xmlnode_insert_child(parent, child) xmlnode *parent xmlnode *child void xmlnode_insert_data(node, data, size) xmlnode *node const char *data gssize size Gaim::XMLNode xmlnode_new(class, name) const char *name C_ARGS: name Gaim::XMLNode xmlnode_new_child(parent, name) xmlnode *parent const char *name void xmlnode_remove_attrib(node, attr) xmlnode *node const char *attr void xmlnode_set_attrib(node, attr, value) xmlnode *node const char *attr const char *value char * xmlnode_to_formatted_str(node, len) xmlnode *node int *len char * xmlnode_to_str(node, len) xmlnode *node int *len