Formatter
Interface
constructor
parent
name
format_
async
format_
finish
format_
range_
async
format_
range_
finish
load
GJS API Reference
Ide-1.0
Ide
FormatterInterface
Class FormatterInterface
Hierarchy
FormatterInterface
Index
Constructors
constructor
Properties
parent
name
Methods
format_
async
format_
finish
format_
range_
async
format_
range_
finish
load
Constructors
constructor
new
Formatter
Interface
(
)
:
FormatterInterface
Returns
FormatterInterface
Properties
parent
parent
:
TypeInterface
Static
name
name
:
string
Methods
format_
async
format_
async
(
self
:
Ide
.
Formatter
, buffer
:
Ide
.
Buffer
, options
:
FormatterOptions
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
Ide
.
Formatter
buffer:
Ide
.
Buffer
options:
FormatterOptions
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
format_
finish
format_
finish
(
self
:
Ide
.
Formatter
, result
:
AsyncResult
)
:
boolean
Parameters
self:
Ide
.
Formatter
result:
AsyncResult
Returns
boolean
format_
range_
async
format_
range_
async
(
self
:
Ide
.
Formatter
, buffer
:
Ide
.
Buffer
, options
:
FormatterOptions
, begin
:
Gtk
.
TextIter
, end
:
Gtk
.
TextIter
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
Ide
.
Formatter
buffer:
Ide
.
Buffer
options:
FormatterOptions
begin:
Gtk
.
TextIter
end:
Gtk
.
TextIter
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
format_
range_
finish
format_
range_
finish
(
self
:
Ide
.
Formatter
, result
:
AsyncResult
)
:
boolean
Parameters
self:
Ide
.
Formatter
result:
AsyncResult
Returns
boolean
load
load
(
self
:
Ide
.
Formatter
)
:
void
Parameters
self:
Ide
.
Formatter
Returns
void
Formatter
Interface
constructor
parent
name
format_
async
format_
finish
format_
range_
async
format_
range_
finish
load
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cn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