wxPython StyledTextCtrl and tabs?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lonnie Princehouse

    #1

    wxPython StyledTextCtrl and tabs?

    Does anyone know of a way to make the wxPython StyledTextCtrl expand
    tabs into spaces? (yes, I'm trying to use it to edit Python code :P)

  • MrJean1

    #2
    Re: wxPython StyledTextCtrl and tabs?

    Maybe the SetUseTabs() method helps. See this page

    <http://www.yellowbrain .com/stc/guides.html#set usetabs>

    and the summary at the top. Disclaimer: untested.

    /Jean Brouwers


    Lonnie Princehouse wrote:[color=blue]
    > Does anyone know of a way to make the wxPython StyledTextCtrl expand
    > tabs into spaces? (yes, I'm trying to use it to edit Python code :P)[/color]

    Comment

    • Lonnie Princehouse

      #3
      Re: wxPython StyledTextCtrl and tabs?

      That's exactly what I was looking for. Thanks!

      Comment

      Working...