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
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GeanyIndentPrefs Struct Reference

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
 

Detailed Description

Indentation prefs that might be different according to project or filetype.

Use editor_get_indent_prefs() to lookup the prefs for a particular document.

Since
0.15

Definition at line 82 of file editor.h.

Member Data Documentation

◆ auto_indent_mode

GeanyAutoIndent GeanyIndentPrefs::auto_indent_mode

◆ detect_type

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().

◆ detect_width

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().

◆ hard_tab_width

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().

◆ type

◆ width


The documentation for this struct was generated from the following file: