Class
FoundryFileSearchMatch
unstable since: 1.1
Description [src]
abstract class Foundry.FileSearchMatch : GObject.Object
{
/* No available fields */
}
A file search match result.
FoundryFileSearchMatch represents a search match result containing
information about where a search term was found in a file, including the
file location, line number, character offset, and text length.
Available since: 1.1
Instance methods
foundry_file_search_match_dup_after_context
Gets the text after the search text.
unstable since: 1.1
foundry_file_search_match_dup_before_context
Gets the text before the search text.
unstable since: 1.1
foundry_file_search_match_dup_file
Gets a copy of the file associated with the search match.
unstable since: 1.1
foundry_file_search_match_get_length
Gets the length of the search text in characters.
unstable since: 1.1
foundry_file_search_match_get_line
Gets the line number where the search match was found.
unstable since: 1.1
foundry_file_search_match_get_line_offset
Gets the character offset within the line where the search match starts.
unstable since: 1.1
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct FoundryFileSearchMatchClass {
GObject parent_instance;
GFile* (* dup_file) (
FoundryFileSearchMatch* self
);
guint (* get_line) (
FoundryFileSearchMatch* self
);
guint (* get_line_offset) (
FoundryFileSearchMatch* self
);
guint (* get_length) (
FoundryFileSearchMatch* self
);
char* (* dup_before_context) (
FoundryFileSearchMatch* self
);
char* (* dup_text) (
FoundryFileSearchMatch* self
);
char* (* dup_after_context) (
FoundryFileSearchMatch* self
);
gpointer _reserved;
}
No description available.
Class members
parent_instance: GObjectNo description available.
dup_file: GFile* (* dup_file) ( FoundryFileSearchMatch* self )No description available.
get_line: guint (* get_line) ( FoundryFileSearchMatch* self )No description available.
get_line_offset: guint (* get_line_offset) ( FoundryFileSearchMatch* self )No description available.
get_length: guint (* get_length) ( FoundryFileSearchMatch* self )No description available.
dup_before_context: char* (* dup_before_context) ( FoundryFileSearchMatch* self )No description available.
dup_text: char* (* dup_text) ( FoundryFileSearchMatch* self )No description available.
dup_after_context: char* (* dup_after_context) ( FoundryFileSearchMatch* self )No description available.
_reserved: gpointerNo description available.
Virtual methods
Foundry.FileSearchMatchClass.dup_after_context
Gets the text after the search text.
unstable since: 1.1
Foundry.FileSearchMatchClass.dup_before_context
Gets the text before the search text.
unstable since: 1.1
Foundry.FileSearchMatchClass.dup_file
Gets a copy of the file associated with the search match.
unstable since: 1.1
Foundry.FileSearchMatchClass.get_length
Gets the length of the search text in characters.
unstable since: 1.1
Foundry.FileSearchMatchClass.get_line
Gets the line number where the search match was found.
unstable since: 1.1
Foundry.FileSearchMatchClass.get_line_offset
Gets the character offset within the line where the search match starts.
unstable since: 1.1