summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/Carbon/MacTextEditor.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/Carbon/MacTextEditor.py')
-rw-r--r--Mac/Lib/Carbon/MacTextEditor.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Lib/Carbon/MacTextEditor.py b/Mac/Lib/Carbon/MacTextEditor.py
index baa74cf..bf3ebe5 100644
--- a/Mac/Lib/Carbon/MacTextEditor.py
+++ b/Mac/Lib/Carbon/MacTextEditor.py
@@ -12,6 +12,8 @@ kTXNUseCurrentSelection = 0xFFFFFFFF
kTXNStartOffset = 0
kTXNEndOffset = 0x7FFFFFFF
MovieFileType = FOUR_CHAR_CODE('moov')
+kTXNUseEncodingWordRulesMask = 0x80000000
+kTXNFontSizeAttributeSize = 4
kTXNWillDefaultToATSUIBit = 0
kTXNWillDefaultToATSUIMask = 1L << kTXNWillDefaultToATSUIBit
kTXNWantMoviesBit = 0
@@ -83,7 +85,7 @@ kTXNEntireWordBit = 1
kTXNUseEncodingWordRulesBit = 31
kTXNIgnoreCaseMask = 1L << kTXNIgnoreCaseBit
kTXNEntireWordMask = 1L << kTXNEntireWordBit
-kTXNUseEncodingWordRulesMask = (unsigned long)(1L << kTXNUseEncodingWordRulesBit)
+# kTXNUseEncodingWordRulesMask = (unsigned long)(1L << kTXNUseEncodingWordRulesBit)
kTXNTextensionFile = FOUR_CHAR_CODE('txtn')
kTXNTextFile = FOUR_CHAR_CODE('TEXT')
kTXNPictureFile = FOUR_CHAR_CODE('PICT')
@@ -193,7 +195,7 @@ kTXNATSUIFontVariationsAttribute = FOUR_CHAR_CODE('atva')
# kTXNQDFontStyleAttributeSize = sizeof(Style)
# kTXNQDFontColorAttributeSize = sizeof(RGBColor)
# kTXNTextEncodingAttributeSize = sizeof(TextEncoding)
-kTXNFontSizeAttributeSize = sizeof(Fixed)
+# kTXNFontSizeAttributeSize = sizeof(Fixed)
kTXNSystemDefaultEncoding = 0
kTXNMacOSEncoding = 1
kTXNUnicodeEncoding = 2