Virtual Method

FoundryFileSearchMatchdup_before_context

unstable since: 1.1

Declaration [src]

char*
dup_before_context (
  FoundryFileSearchMatch* self
)

Description [src]

Gets the text before the search text.

Available since: 1.1

Return value

Type: char*

The text before the match, or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.