/*
* Specialization of GtkTextView for the XML tree view
*
* Authors:
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 2002 MenTaLguY
* Abhishek Sharma
*
* Released under the GNU GPL; see COPYING for details
*/
#include <cstring>
#include "xml/node-event-vector.h"
#include "sp-xmlview-content.h"
#include "desktop.h"
#include "document-private.h"
#include "document-undo.h"
#include "inkscape.h"
#include "verbs.h"
using Inkscape::DocumentUndo;
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
static void event_content_changed (Inkscape::XML::Node * repr, const gchar * old_content, const gchar * new_content, gpointer data);
NULL, /* child_added */
NULL, /* child_removed */
NULL, /* attr_changed */
NULL /* order_changed */
};
{
/* should we alter the scrolling adjustments here? */
return GTK_WIDGET(text);
}
void
{
}
if (repr) {
} else {
}
}
{
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
}
void
{
}
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
{
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
}
void
event_content_changed (Inkscape::XML::Node * /*repr*/, const gchar * /*old_content*/, const gchar * new_content, gpointer data)
{
if (new_content) {
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (text)), new_content, strlen (new_content));
} else {
}
}
void
{
_("Type text in a text node"));
}
}