GNOME Bugzilla – Bug 791165
Document settings allow to select "tabs" and "spaces"
Last modified: 2017-12-13 23:28:26 UTC
Created attachment 364853 [details] Screenshot of "tabs" and "spaces" selected The indentation options in the document settings are not exclusive. This allows you to select both tabs AND spaces. It is also possible to select neither of them.
Some tricky code is involved here, in translating GSettings into actions w/ toggle buttons. Code is in: src/libide/editor/ide-editor-properties.{c,h,ui} Which is binding properties from the ide-source-view.{c,h}
Created attachment 365508 [details] [review] Patch that adds a binding in the .ui file
Thanks! Quick test shows it seems to do what is expected.