Mark


Description:

[ CCode ( has_construct_function = false ) ]
public Mark (string? name, string category)

Creates a text mark.

Add it to a buffer using [[email protected]_mark]. If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved by name using [[email protected]_mark]. Normally marks are created using the utility function [[email protected]_source_mark].

Parameters:

name

Name of the Mark or null

category

is used to classify marks according to common characteristics (e.g. all the marks representing a bookmark could belong to the "bookmark" category, or all the marks representing a compilation error could belong to "error" category).

Returns:

a new Mark that can be added using [[email protected]_mark].




2022 vala-language.org