Class
IdeEditorPage
Ancestors
- IdePage
- GtkBox
- GtkContainer
- GtkWidget
- GInitiallyUnowned
- GObject
Instance methods
ide_editor_page_addin_find_by_module_name
This function will locate the IdeEditorPageAddin
that was registered
by the addin named module_name
(which should match the module_name
provided in the .plugin file).
Available since: 3.32
ide_editor_page_get_auto_hide_map
ide_editor_page_get_file
Gets the GFile
that represents the current file. This may be a temporary
file, but a GFile
will still be used for the temporary file.
Available since: 3.32
ide_editor_page_get_language
Gets the GtkSourceLanguage
that is used by the underlying buffer.
Available since: 3.32
ide_editor_page_get_language_id
This is a helper to get the language-id of the underlying buffer.
Available since: 3.32
ide_editor_page_get_search
Gets the IdeEditorSearch
used to search within the document.
Available since: 3.32
ide_editor_page_get_show_map
ide_editor_page_get_view
Gets the IdeSourceView
that is part of the IdeEditorPage
.
Available since: 3.32
ide_editor_page_move_next_search_result
Moves the insertion cursor to the next search result.
Available since: 3.32
ide_editor_page_move_previous_error
Moves the insertion cursor to the previous error.
Available since: 3.32
ide_editor_page_move_previous_search_result
Moves the insertion cursor to the previous search result.
Available since: 3.32
ide_editor_page_scroll_to_line
This is a helper to quickly jump to a given line without all the frills. It will also ensure focus on the editor view, so that refocusing the view afterwards does not cause the view to restore the cursor to the previous location.
Available since: 3.32
ide_editor_page_scroll_to_line_offset
Like ide_editor_page_scroll_to_line()
but allows specifying the
line offset (column) to place the cursor on.
Available since: 3.32
ide_editor_page_set_auto_hide_map
ide_editor_page_set_language
This is a convenience function to set the language on the underlying
IdeBuffer
text buffer.
Available since: 3.32
ide_editor_page_set_show_map
Methods inherited from IdePage (24)
ide_page_agree_to_close_async
ide_page_agree_to_close_finish
ide_page_create_split
This function requests that the IdePage
create a split version
of itself so that the user may view the document in multiple views.
Available since: 3.32
ide_page_get_can_split
ide_page_get_failed
ide_page_get_file_or_directory
Gets a GFile
representing a file or directory that best maps to this
page. A terminal might use the current working directory while an editor
or designer might use the backing file.
Available since: 3.40
ide_page_get_icon
Gets the GIcon
to represent the view.
Available since: 3.32
ide_page_get_icon_name
ide_page_get_menu_id
ide_page_get_modified
ide_page_get_primary_color_bg
Gets the IdePage:primary-color-bg
property if it has been set.
Available since: 3.32
ide_page_get_primary_color_fg
Gets the IdePage:primary-color-fg
property if it has been set.
Available since: 3.32
ide_page_get_title
ide_page_mark_used
This function marks the page as used by updating it’s position in the workspaces MRU (most-recently-used) queue.
Available since: 3.32
ide_page_report_error
This function reports an error to the user in the layout view.
Available since: 3.32
ide_page_set_can_split
ide_page_set_failed
ide_page_set_icon
ide_page_set_icon_name
ide_page_set_menu_id
ide_page_set_modified
ide_page_set_primary_color_bg
Sets the IdePage:primary-color-bg
property.
If primary_color_bg
is NULL
, the property is unset.
Available since: 3.32
ide_page_set_primary_color_fg
Sets the IdePage:primary-color-fg
property.
If primary_color_fg
is NULL
, the property is unset.
Available since: 3.32
Properties
Ide.EditorPage:auto-hide-map
Ide.EditorPage:buffer
Ide.EditorPage:buffer-file
Ide.EditorPage:search
Ide.EditorPage:show-map
Ide.EditorPage:view
Properties inherited from IdePage (9)
Ide.Page:can-split
Ide.Page:failed
Ide.Page:icon
Ide.Page:icon-name
Ide.Page:menu-id
Ide.Page:modified
Ide.Page:primary-color-bg
The “primary-color-bg” property should describe the primary color of the content of the view (if any).
Available since: 3.32
Ide.Page:primary-color-fg
The “primary-color-fg” property should describe the foreground to use for content above primary-color-bg.
Available since: 3.32