Geany  0.20
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.
GeanyIndentType type
 Whether to use tabs, spaces or both to indent.
gint width
 Indent 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

Field Documentation

Width of a tab, but only when using GEANY_INDENT_TYPE_BOTH.

To get the display tab width, use sci_get_tab_width().

Whether to use tabs, spaces or both to indent.

Indent width.