## 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
    struct              IAnjutaEditorSearchIface;
    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);
    GQuark              ianjuta_editor_search_error_quark   (void);
    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);

## Description

## Details

### IANJUTA_EDITOR_SEARCH_ERROR

    #define IANJUTA_EDITOR_SEARCH_ERROR ianjuta_editor_search_error_quark()

### struct IAnjutaEditorSearchIface

    struct IAnjutaEditorSearchIface {
    	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);
    };

### 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
`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

### ianjuta_editor_search_error_quark ()

    GQuark              ianjuta_editor_search_error_quark   (void);

### 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
`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