diff options
author | Brian Jordan <bcjordan@gmail.com> | 2009-06-22 07:57:36 (GMT) |
---|---|---|
committer | Brian Jordan <bcjordan@gmail.com> | 2009-06-22 07:57:36 (GMT) |
commit | 295ce806e7b4c74d5fee71d5aaddd34f9a8ce3d0 (patch) | |
tree | b2b104889f583c3c55ba4ef0d288b99bfb21e5d6 | |
parent | 08f6069419df110ca7a8d912b0baecfdf41bd037 (diff) |
Editor: make tabs be spaces width=2, auto-indentv34
-rw-r--r-- | pippy_app.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pippy_app.py b/pippy_app.py index f019520..abaf397 100644 --- a/pippy_app.py +++ b/pippy_app.py @@ -146,6 +146,9 @@ class PippyActivity(ViewSourceActivity): self.text_view.set_cursor_visible(True) self.text_view.set_show_line_numbers(True) self.text_view.set_wrap_mode(gtk.WRAP_CHAR) + self.text_view.set_insert_spaces_instead_of_tabs(True) + self.text_view.set_tab_width(2) + self.text_view.set_auto_indent(True) self.text_view.modify_font(pango.FontDescription("Monospace " + str(font_zoom(style.FONT_SIZE)))) |