Registered Member
|
I am trying to convert some misformated python script into tabs (now there's a mix of 4 spaces and tabs), I looked for a search/replace function but doesn't seem to work for me. The form is quite complicated to understand..
So, what would be the information to fill if I want to replace four spaces into tabs? I tried \t, but the replace button is not enabled. |
Registered Member
|
Ok, answering myself, I just found out how to do the replacement, it's either ctrl+r or by using the selector in the right of the search screen
|
Registered Member
|
I guess that a more usable find/replace interface would having the search functions grouped by it's type, what do you think?
|
KDE Developer
|
Just FYI, python says it's better to use 4 spaces than a tab (according to I don't remember which PEP).
So, you might want to do the reverse |
Registered Member
|
At the end I changed to spaces as you are saying, the reason to use tabs was that occasionally I use vim, but then I found out :set expandtab. I'm a proud spacer now
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]