Comment #17 on issue 166 by limodou: The cursor should be put on current window when switch between windows by Ctrl+Tab
http://code.google.com/p/ulipad/issues/detail?id=166

Yes I want to test True. And *is* is not used to test type, but an object *is* the object. So how do you test a object equal None object. You can only use a is None. I
don't think command_mode is True will always return False, here is a test:

a = False
print a is True
False
a = True
print a is True
True

So you can see if you set variable to True, the result is True. You are wrong at this point. *is* is not '=='. And command_mode is exact a boolean variable. You can see
the code in  mixins/SearchWin.py:

        Globals.mainframe.command_mode = True

No one said command_mode is not a boolean variable.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to