connectEdit

fun connectEdit(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (view: View, path: String) -> Unit): <Error class: unknown class>

Requests the application open the file found at @path.

If @path is null, then the current file should be reloaded from storage.

This may be executed in relation to the user running the :edit or :e commands.

Since

5.4

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: view the #GtkSourceView; path the path if provided, otherwise null