Geany dev
Data Fields
GeanyIndentPrefs Struct Reference

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

#include <editor.h>

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

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