Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8531

Wish: Rhino Python Editor transform tabs to spaces

$
0
0

@ivelin.peychev wrote:

Hello,

Probably you’re in a process of changing the PythonEditor completely, but if that is about to take some time I have a wish. You may as well take it into RhinoPythonEditor2.0


or

Due to this error I am unable to re-use examples directly. I’m a pragmatic “Tab-ber” guy (ScriptKiddie) :pleading_face:. So I have to tab-inize every indent every time.

I see probably two solutions, either automatically transform tabs into (4) spaces or somehow upon launching the scripts pass them to the interpreter in such a way so that they don’t trigger this error.

Thanks in advance.

Update: Another solution just came to me, probably the easiest:
Create two buttons in the Edit menu:

  • Replace All Tabs with (4) Spaces
  • Replace All (4) Spaces with Tabs (I assume this one will be more difficult)

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8531

Trending Articles