← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156506]: Getting Indentation error --- only use tab to indent and shift-tab to dedent

 

Question #156506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/156506

    Status: Open => Answered

RaiMan proposed the following answer:
@ gregory
If you ONLY use tab (indent) and shift-tab (dedent) for one line or a block of lines, you never will get any indentation errors.

exception:
paste code from somewhere else, that does not have the same indentation (e.g. 4 spaces) as your current script.
This has to be repaired manually either with blocks of lines or line by line using shift-tab/tab.

The only known case where it moves character wise: when using backspace
to delete an indentation (which you should not do, because you should
use shift-tab for that)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.