主题
IgnoreMixedDigits (属性)
如果该属性值为 False,则指示 ET 检查混合数字。如果该值为 True,则指示 ET 在检查拼写时忽略混合数字。bool 类型,可读写。
示例
python
#本示例中,ET 决定在检查混合数字的拼写时使用何种设置,并通知用户
def test():
if Application.SpellingOptions.IgnoreMixedDigits:
print("Spelling options for checking mixed digits is disabled.")
else:
print("Spelling options for checking mixed digits is enabled.")
python
#本示例设置 ET 在检查拼写时检查混合数字
def test():
Application.SpellingOptions.IgnoreMixedDigits = False