Geany  dev
Data Fields
GeanyIndentPrefs Struct Reference

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

Data Fields

gint hard_tab_width
 Width of a tab, but only when using GEANY_INDENT_TYPE_BOTH. More...
 
GeanyIndentType type
 Whether to use tabs, spaces or both to indent. More...
 
gint width
 Indent width. More...
 

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

Field Documentation

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

GeanyIndentType GeanyIndentPrefs::type

Whether to use tabs, spaces or both to indent.

gint GeanyIndentPrefs::width

Indent width.