| Anjuta Developers Reference Manual | ||||
|---|---|---|---|---|
#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);
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;
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 : |
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 : |