Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.

/Indent Strings = "class" "def" "elif" "else" "for" "if" "try" "except" "while"for line in file:
items = line.split(";")
for item in items:
do_something()
partial_list = items[2:4]
# now UE indents falsely!
int foo(int bar) { bar*=2;
return bar;
}

/Indent Strings = "then"
/Unindent Strings = "End" "Next" "End If" "End Select"
lala Then lala
here we go :-/

pietzcker wrote:In the help file (at least in the German version) it says "in order for an Indent string to be matched, it has to be the last non-whitespace character in the line." Which is what I would have expected.
If an indent string occurs anywhere on a line it will be used for indenting (except when it occurs in quoted/commented text).

So it works as explained in the english help. Can you email IDM where exactly in the german help it is explained wrong.
For a possible solution for Python see above the post from Vivian De Smedt.
if test==True: print "True"
else: print "False"

