## IAnjutaEditorSearch

IAnjutaEditorSearch — Text editor search interface

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libanjuta/interfaces/ianjuta-editor-search.h>

    #define             IANJUTA_EDITOR_SEARCH_ERROR
                        IAnjutaEditorSearch;
                        IAnjutaEditorSearchIface;
    GQuark              ianjuta_editor_search_error_quark   (void);
    gboolean            ianjuta_editor_search_backward      (IAnjutaEditorSearch *obj,
                                                             const gchar *search,
                                                             gboolean case_sensitive,
                                                             IAnjutaEditorCell *start,
                                                             IAnjutaEditorCell *end,
                                                             IAnjutaEditorCell **result_start,
                                                             IAnjutaEditorCell **result_end,
                                                             GError **err);
    gboolean            ianjuta_editor_search_forward       (IAnjutaEditorSearch *obj,
                                                             const gchar *search,
                                                             gboolean case_sensitive,
                                                             IAnjutaEditorCell *start,
                                                             IAnjutaEditorCell *end,
                                                             IAnjutaEditorCell **result_start,
                                                             IAnjutaEditorCell **result_end,
                                                             GError **err);

## Object Hierarchy

      GInterface
       +----IAnjutaEditorSearch

## Prerequisites

IAnjutaEditorSearch requires IAnjutaEditor and GObject.

## Description

## Details

### IANJUTA_EDITOR_SEARCH_ERROR

    #define IANJUTA_EDITOR_SEARCH_ERROR ianjuta_editor_search_error_quark()

### IAnjutaEditorSearch

    typedef struct _IAnjutaEditorSearch IAnjutaEditorSearch;

### IAnjutaEditorSearchIface

    typedef struct {
    	IAnjutaEditorIface g_iface;

    	gboolean (*backward) (IAnjutaEditorSearch *obj, const gchar* search,  gboolean case_sensitive,  IAnjutaEditorCell* start,  IAnjutaEditorCell* end,  IAnjutaEditorCell** result_start,  IAnjutaEditorCell** result_end, GError **err);
    	gboolean (*forward) (IAnjutaEditorSearch *obj, const gchar* search,  gboolean case_sensitive,  IAnjutaEditorCell* start,  IAnjutaEditorCell* end,  IAnjutaEditorCell** result_start,  IAnjutaEditorCell** result_end, GError **err);
    } IAnjutaEditorSearchIface;

### ianjuta_editor_search_error_quark ()

    GQuark              ianjuta_editor_search_error_quark   (void);

Returns : |

### ianjuta_editor_search_backward ()

    gboolean            ianjuta_editor_search_backward      (IAnjutaEditorSearch *obj,
                                                             const gchar *search,
                                                             gboolean case_sensitive,
                                                             IAnjutaEditorCell *start,
                                                             IAnjutaEditorCell *end,
                                                             IAnjutaEditorCell **result_start,
                                                             IAnjutaEditorCell **result_end,
                                                             GError **err);

Search backward from end to start

`obj` : | Self
`search` : | String to search for
`case_sensitive` : |
`start` : | Where to search from
`end` : | Where to stop searching
`result_start` : | Will be set to the start of the search_result (or NULL)
`result_end` : | Will be set to the end of the search_result (or NULL)
`err` : | Error propagation and reporting
Returns : |

### ianjuta_editor_search_forward ()

    gboolean            ianjuta_editor_search_forward       (IAnjutaEditorSearch *obj,
                                                             const gchar *search,
                                                             gboolean case_sensitive,
                                                             IAnjutaEditorCell *start,
                                                             IAnjutaEditorCell *end,
                                                             IAnjutaEditorCell **result_start,
                                                             IAnjutaEditorCell **result_end,
                                                             GError **err);

Search forward from start to end

`obj` : | Self
`search` : | String to search for
`case_sensitive` : |
`start` : | Where to search from
`end` : | Where to stop searching
`result_start` : | Will be set to the start of the search_result (or NULL)
`result_end` : | Will be set to the end of the search_result (or NULL)
`err` : | Error propagation and reporting
Returns : |