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
![]() ![]() |
Indentation prefs that might be different according to project or filetype. More...
#include <editor.h>
Public Attributes | |
gint | width |
Indent width. More... | |
GeanyIndentType | type |
Whether to use tabs, spaces or both to indent. More... | |
gint | hard_tab_width |
Width of a tab, but only when using GEANY_INDENT_TYPE_BOTH. More... | |
GeanyAutoIndent | auto_indent_mode |
gboolean | detect_type |
gboolean | detect_width |
Indentation prefs that might be different according to project or filetype.
Use editor_get_indent_prefs()
to lookup the prefs for a particular document.
GeanyAutoIndent GeanyIndentPrefs::auto_indent_mode |
Definition at line 89 of file editor.h.
Referenced by close_block(), editor_create(), editor_get_indent_prefs(), get_indent_size_after_line(), init_pref_groups(), and init_stash_prefs().
gboolean GeanyIndentPrefs::detect_type |
Definition at line 90 of file editor.h.
Referenced by document_apply_indent_settings(), init_pref_groups(), and init_stash_prefs().
gboolean GeanyIndentPrefs::detect_width |
Definition at line 91 of file editor.h.
Referenced by document_apply_indent_settings(), init_pref_groups(), and init_stash_prefs().
gint GeanyIndentPrefs::hard_tab_width |
Width of a tab, but only when using GEANY_INDENT_TYPE_BOTH.
To get the display tab width, use sci_get_tab_width().
Definition at line 88 of file editor.h.
Referenced by editor_set_indent(), get_tab_width(), init_pref_groups(), and init_stash_prefs().
GeanyIndentType GeanyIndentPrefs::type |
Whether to use tabs, spaces or both to indent.
Definition at line 85 of file editor.h.
Referenced by create_statusbar_statistics(), document_apply_indent_settings(), document_set_filetype(), editor_change_line_indent(), editor_create_widget(), editor_get_indent_prefs(), editor_insert_alternative_whitespace(), fix_indentation(), get_tab_width(), get_whitespace(), init_pref_groups(), init_stash_prefs(), insert_indent_after_line(), and ui_document_show_hide().
gint GeanyIndentPrefs::width |
Indent width.
Definition at line 84 of file editor.h.
Referenced by auto_multiline(), change_tab_indentation(), close_block(), detect_indent_width(), detect_tabs_and_spaces(), document_apply_indent_settings(), document_set_filetype(), editor_change_line_indent(), editor_create_widget(), editor_get_indent_prefs(), editor_insert_alternative_whitespace(), fix_indentation(), get_indent_size_after_line(), get_tab_width(), init_pref_groups(), init_stash_prefs(), and ui_document_show_hide().