GtkSourceMarker

GtkSourceMarker

Functions

Types and Values

typedef GtkSourceMarker

Includes

#include <gtksourceview/gtksourcemarker.h>

Description

Functions

gtk_source_marker_set_marker_type ()

void
gtk_source_marker_set_marker_type (GtkSourceMarker *marker,
                                   const gchar *type);


gtk_source_marker_get_marker_type ()

gchar *
gtk_source_marker_get_marker_type (GtkSourceMarker *marker);

Gets the marker type of this marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

the marker type.


gtk_source_marker_get_line ()

gint
gtk_source_marker_get_line (GtkSourceMarker *marker);

Gets the line number of this marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

the line number.


gtk_source_marker_get_name ()

const gchar *
gtk_source_marker_get_name (GtkSourceMarker *marker);

Gets the name of this marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

the name.


gtk_source_marker_get_buffer ()

GtkSourceBuffer *
gtk_source_marker_get_buffer (GtkSourceMarker *marker);

Gets the buffer associated with this marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

the GtkSourceBuffer.


gtk_source_marker_next ()

GtkSourceMarker *
gtk_source_marker_next (GtkSourceMarker *marker);

Gets the next marker after marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

a GtkSourceMarker.


gtk_source_marker_prev ()

GtkSourceMarker *
gtk_source_marker_prev (GtkSourceMarker *marker);

Gets the previous marker before marker .

Parameters

marker

a GtkSourceMarker.

 

Returns

a GtkSourceMarker.

Types and Values

GtkSourceMarker

typedef GtkTextMark      GtkSourceMarker;