Commit 97a81484 authored by Christian Hergert's avatar Christian Hergert

buffer: whitespace cleanup

parent ef0fead7
...@@ -130,9 +130,9 @@ ...@@ -130,9 +130,9 @@
#define PROFILE(x) #define PROFILE(x)
#endif #endif
#define UPDATE_BRACKET_DELAY 50 #define UPDATE_BRACKET_DELAY 50
#define BRACKET_MATCHING_CHARS_LIMIT 10000 #define BRACKET_MATCHING_CHARS_LIMIT 10000
#define CONTEXT_CLASSES_PREFIX "gtksourceview:context-classes:" #define CONTEXT_CLASSES_PREFIX "gtksourceview:context-classes:"
enum enum
{ {
...@@ -147,11 +147,11 @@ enum ...@@ -147,11 +147,11 @@ enum
enum enum
{ {
PROP_0, PROP_0,
PROP_HIGHLIGHT_SYNTAX,
PROP_HIGHLIGHT_MATCHING_BRACKETS, PROP_HIGHLIGHT_MATCHING_BRACKETS,
PROP_HIGHLIGHT_SYNTAX,
PROP_IMPLICIT_TRAILING_NEWLINE,
PROP_LANGUAGE, PROP_LANGUAGE,
PROP_STYLE_SCHEME, PROP_STYLE_SCHEME,
PROP_IMPLICIT_TRAILING_NEWLINE,
N_PROPERTIES N_PROPERTIES
}; };
...@@ -182,46 +182,41 @@ typedef struct ...@@ -182,46 +182,41 @@ typedef struct
guint implicit_trailing_newline : 1; guint implicit_trailing_newline : 1;
} GtkSourceBufferPrivate; } GtkSourceBufferPrivate;
static guint buffer_signals[N_SIGNALS];
static GParamSpec *buffer_properties[N_PROPERTIES]; static GParamSpec *buffer_properties[N_PROPERTIES];
static guint buffer_signals[N_SIGNALS];
G_DEFINE_TYPE_WITH_PRIVATE (GtkSourceBuffer, gtk_source_buffer, GTK_TYPE_TEXT_BUFFER) G_DEFINE_TYPE_WITH_PRIVATE (GtkSourceBuffer, gtk_source_buffer, GTK_TYPE_TEXT_BUFFER)
/* Prototypes */ static void gtk_source_buffer_dispose (GObject *object);
static void gtk_source_buffer_dispose (GObject *object); static void gtk_source_buffer_set_property (GObject *object,
static void gtk_source_buffer_set_property (GObject *object, guint prop_id,
guint prop_id, const GValue *value,
const GValue *value, GParamSpec *pspec);
GParamSpec *pspec); static void gtk_source_buffer_get_property (GObject *object,
static void gtk_source_buffer_get_property (GObject *object, guint prop_id,
guint prop_id, GValue *value,
GValue *value, GParamSpec *pspec);
GParamSpec *pspec); static void gtk_source_buffer_real_insert_text (GtkTextBuffer *buffer,
static void gtk_source_buffer_real_insert_text (GtkTextBuffer *buffer, GtkTextIter *iter,
GtkTextIter *iter, const gchar *text,
const gchar *text, gint len);
gint len); static void gtk_source_buffer_real_insert_texture (GtkTextBuffer *buffer,
static void gtk_source_buffer_real_insert_pixbuf (GtkTextBuffer *buffer, GtkTextIter *pos,
GtkTextIter *pos, GdkTexture *texture);
GdkPixbuf *pixbuf); static void gtk_source_buffer_real_insert_child_anchor (GtkTextBuffer *buffer,
static void gtk_source_buffer_real_insert_child_anchor GtkTextIter *pos,
(GtkTextBuffer *buffer, GtkTextChildAnchor *anchor);
GtkTextIter *pos, static void gtk_source_buffer_real_delete_range (GtkTextBuffer *buffer,
GtkTextChildAnchor *anchor); GtkTextIter *iter,
static void gtk_source_buffer_real_delete_range (GtkTextBuffer *buffer, GtkTextIter *end);
GtkTextIter *iter, static void gtk_source_buffer_real_mark_set (GtkTextBuffer *buffer,
GtkTextIter *end); const GtkTextIter *location,
static void gtk_source_buffer_real_mark_set (GtkTextBuffer *buffer, GtkTextMark *mark);
const GtkTextIter *location, static void gtk_source_buffer_real_mark_deleted (GtkTextBuffer *buffer,
GtkTextMark *mark); GtkTextMark *mark);
static void gtk_source_buffer_real_highlight_updated (GtkSourceBuffer *buffer,
static void gtk_source_buffer_real_mark_deleted (GtkTextBuffer *buffer, GtkTextIter *start,
GtkTextMark *mark); GtkTextIter *end);
static void gtk_source_buffer_real_highlight_updated
(GtkSourceBuffer *buffer,
GtkTextIter *start,
GtkTextIter *end);
static void static void
gtk_source_buffer_check_tag_for_spaces (GtkSourceBuffer *buffer, gtk_source_buffer_check_tag_for_spaces (GtkSourceBuffer *buffer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment