geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Editor-owned fields for each document. More...
#include <editor.h>
Public Attributes | |
struct GeanyDocument * | document |
The document associated with the editor. More... | |
ScintillaObject * | sci |
The Scintilla editor GtkWidget . More... | |
gboolean | line_wrapping |
TRUE if line wrapping is enabled. More... | |
gboolean | auto_indent |
TRUE if auto-indentation is enabled. More... | |
gfloat | scroll_percent |
Percentage to scroll view by on paint, if positive. More... | |
GeanyIndentType | indent_type |
gboolean | line_breaking |
Whether to split long lines as you type. More... | |
gint | indent_width |
gboolean GeanyEditor::auto_indent |
TRUE
if auto-indentation is enabled.
Definition at line 154 of file editor.h.
Referenced by document_clone(), editor_create(), editor_get_indent_prefs(), editor_insert_multiline_comment(), get_session_file_string(), on_char_added(), on_new_line_added(), on_use_auto_indentation1_toggled(), open_session_file(), and ui_document_show_hide().
struct GeanyDocument* GeanyEditor::document |
The document associated with the editor.
Definition at line 151 of file editor.h.
Referenced by auto_update_margin_width(), autocomplete_check_html(), autocomplete_scope(), close_block(), editor_check_colourise(), editor_create(), editor_do_comment(), editor_do_comment_toggle(), editor_do_uncomment(), editor_find_snippet(), editor_get_calltip_text(), editor_get_filetype_at_line(), editor_goto_pos(), editor_insert_multiline_comment(), editor_show_calltip(), editor_start_auto_complete(), editor_strip_line_trailing_spaces(), get_indent_size_after_line(), on_doc_show_menu(), on_document_focus_out(), on_editor_button_press_event(), on_editor_notify(), on_update_ui(), real_comment_multiline(), real_uncomment_multiline(), set_editor(), snippets_complete_constructs(), snippets_make_replacements(), and sync_to_current().
GeanyIndentType GeanyEditor::indent_type |
Definition at line 157 of file editor.h.
Referenced by document_clone(), document_detect_indent_width(), document_open_file_full(), document_set_filetype(), editor_apply_update_prefs(), editor_create_widget(), editor_get_indent_prefs(), editor_set_indent(), editor_set_indent_width(), and get_session_file_string().
gint GeanyEditor::indent_width |
Definition at line 159 of file editor.h.
Referenced by document_clone(), document_open_file_full(), document_set_filetype(), editor_apply_update_prefs(), editor_create_widget(), editor_get_indent_prefs(), editor_set_indent(), editor_set_indent_type(), get_session_file_string(), open_session_file(), and set_indent_type().
gboolean GeanyEditor::line_breaking |
Whether to split long lines as you type.
Definition at line 158 of file editor.h.
Referenced by check_line_breaking(), document_clone(), editor_create(), get_reflow_column(), get_session_file_string(), on_line_breaking1_activate(), open_session_file(), and ui_document_show_hide().
gboolean GeanyEditor::line_wrapping |
TRUE
if line wrapping is enabled.
Definition at line 153 of file editor.h.
Referenced by create_new_sci(), document_clone(), editor_create(), editor_set_line_wrapping(), get_session_file_string(), on_line_wrapping1_toggled(), and ui_document_show_hide().
ScintillaObject* GeanyEditor::sci |
The Scintilla editor GtkWidget
.
Definition at line 152 of file editor.h.
Referenced by auto_multiline(), auto_update_margin_width(), autocomplete_check_html(), autocomplete_doc_word(), autocomplete_scope(), begin_print(), build_replace_placeholder(), cb_func_document_action(), cb_func_editor_action(), cb_func_format_action(), cb_func_goto_action(), cb_func_insert_action(), cb_func_search_action(), cb_func_switch_action(), change_tab_indentation(), check_line_breaking(), check_menu_key(), check_partial_completion(), check_snippet_completion(), close_block(), convert_eol(), count_indent_size(), create_new_sci(), create_statusbar_statistics(), delay_match_brace(), delete_lines(), detect_indent_width(), detect_tabs_and_spaces(), document_can_redo(), document_can_undo(), document_clone(), document_detect_indent_type(), document_find_text(), document_get_notebook_child(), document_get_status_color(), document_grab_focus(), document_highlight_tags(), document_load_config(), document_new_file(), document_open_file_full(), document_redo(), document_reload_force(), document_replace_all(), document_replace_range(), document_replace_sel(), document_replace_text(), document_save_file(), document_save_file_as(), document_search_bar_find(), document_try_focus(), document_undo(), document_update_tags(), duplicate_lines(), editor_apply_update_prefs(), editor_change_line_indent(), editor_check_colourise(), editor_complete_snippet(), editor_complete_word_part(), editor_create(), editor_create_widget(), editor_display_current_line(), editor_do_comment(), editor_do_comment_toggle(), editor_do_uncomment(), editor_ensure_final_newline(), editor_find_current_word_sciwc(), editor_get_default_selection(), editor_get_eol_char(), editor_get_eol_char_len(), editor_get_eol_char_mode(), editor_get_eol_char_name(), editor_get_filetype_at_line(), editor_goto_line(), editor_goto_next_snippet_cursor(), editor_goto_pos(), editor_highlight_braces(), editor_indent(), editor_indentation_by_one_space(), editor_indicator_clear(), editor_indicator_clear_errors(), editor_indicator_set_on_line(), editor_indicator_set_on_range(), editor_insert_alternative_whitespace(), editor_insert_color(), editor_insert_multiline_comment(), editor_insert_text_block(), editor_line_in_view(), editor_replace_spaces(), editor_replace_tabs(), editor_scroll_to_line(), editor_select_indent_block(), editor_select_lines(), editor_select_paragraph(), editor_select_word(), editor_set_font(), editor_set_indent(), editor_set_indentation_guides(), editor_set_line_wrapping(), editor_show_calltip(), editor_smart_line_indentation(), editor_start_auto_complete(), editor_strip_line_trailing_spaces(), editor_strip_trailing_spaces(), editor_toggle_fold(), enable_key_intercept(), filetypes_detect_from_document(), find_block_stop(), find_document_usage(), find_next_snippet_indicator(), find_paragraph_stop(), find_usage(), fix_indentation(), focus_sci(), fold_all(), get_current_tag_name(), get_current_tag_name_cached(), get_current_word_or_sel(), get_indent_size_after_line(), get_line_column_from_pos(), get_line_number_width(), get_multiline_comment_style(), get_session_file_string(), goto_compiler_file_line(), goto_matching_brace(), goto_tag(), handle_xml(), ht_editor_notify_cb(), insert_closing_tag(), insert_comment_template(), insert_date(), insert_include(), insert_indent_after_line(), insert_line_after(), insert_line_before(), insert_multiline_comment(), join_lines(), join_paragraph(), msgwin_goto_messages_file_line(), navqueue_go_back(), navqueue_goto_line(), on_char_added(), on_comments_changelog_activate(), on_comments_fileheader_activate(), on_comments_function_activate(), on_config_file_clicked(), on_context_action1_activate(), on_document_filetype_set(), on_editor_button_press_event(), on_editor_notify(), on_editor_scroll_event(), on_margin_click(), on_new_line_added(), on_normal_size1_activate(), on_redo1_activate(), on_remove_markers1_activate(), on_set_file_readonly1_toggled(), on_show_color_chooser1_activate(), on_snippet_keybinding_activate(), on_toggle_case1_activate(), on_undo1_activate(), on_update_ui(), on_zoom_in1_activate(), on_zoom_out1_activate(), protect_document(), queue_colourise(), read_current_word(), read_indent(), real_comment_multiline(), real_uncomment_multiline(), reflow_lines(), reflow_paragraph(), replace_header_filename(), replace_special_character(), reshow_calltip(), save_convert_to_encoding(), sc_insert(), search_find_selection(), search_mark_all(), set_cursor_position(), set_editor(), show_goto_popup(), show_tags_list(), smart_line_indentation(), snippets_complete_constructs(), split_line(), tools_execute_custom_command(), tools_word_count(), ui_document_show_hide(), ui_toggle_editor_features(), ui_update_menu_copy_items(), ui_update_popup_copy_items(), ui_update_statusbar(), unprotect_document(), update_changed_state(), write_html_file(), and write_latex_file().
gfloat GeanyEditor::scroll_percent |
Percentage to scroll view by on paint, if positive.
Definition at line 156 of file editor.h.
Referenced by document_find_text(), editor_create(), editor_display_current_line(), editor_goto_pos(), on_editor_notify(), and set_cursor_position().