Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a22a7b7a
Kaydet (Commit)
a22a7b7a
authored
Ock 04, 2002
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
UH 3.4 checkin that I had forgotten about.
üst
3bac5ca1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
4 deletions
+51
-4
MacTextEditor.py
Mac/Lib/Carbon/MacTextEditor.py
+51
-4
No files found.
Mac/Lib/Carbon/MacTextEditor.py
Dosyayı görüntüle @
a22a7b7a
...
...
@@ -36,6 +36,10 @@ kTXNSaveStylesAsSTYLResourceBit = 8
kOutputTextInUnicodeEncodingBit
=
9
kTXNDoNotInstallDragProcsBit
=
10
kTXNAlwaysWrapAtViewEdgeBit
=
11
kTXNDontDrawCaretWhenInactiveBit
=
12
kTXNDontDrawSelectionWhenInactiveBit
=
13
kTXNSingleLineOnlyBit
=
14
kTXNDisableDragAndDropBit
=
15
kTXNDrawGrowIconMask
=
1L
<<
kTXNDrawGrowIconBit
kTXNShowWindowMask
=
1L
<<
kTXNShowWindowBit
kTXNWantHScrollBarMask
=
1L
<<
kTXNWantHScrollBarBit
...
...
@@ -48,6 +52,24 @@ kTXNSaveStylesAsSTYLResourceMask = 1L << kTXNSaveStylesAsSTYLResourceBit
kOutputTextInUnicodeEncodingMask
=
1L
<<
kOutputTextInUnicodeEncodingBit
kTXNDoNotInstallDragProcsMask
=
1L
<<
kTXNDoNotInstallDragProcsBit
kTXNAlwaysWrapAtViewEdgeMask
=
1L
<<
kTXNAlwaysWrapAtViewEdgeBit
kTXNDontDrawCaretWhenInactiveMask
=
1L
<<
kTXNDontDrawCaretWhenInactiveBit
kTXNDontDrawSelectionWhenInactiveMask
=
1L
<<
kTXNDontDrawSelectionWhenInactiveBit
kTXNSingleLineOnlyMask
=
1L
<<
kTXNSingleLineOnlyBit
kTXNDisableDragAndDropMask
=
1L
<<
kTXNDisableDragAndDropBit
kTXNSetFlushnessBit
=
0
kTXNSetJustificationBit
=
1
kTXNUseFontFallBackBit
=
2
kTXNRotateTextBit
=
3
kTXNUseVerticalTextBit
=
4
kTXNDontUpdateBoxRectBit
=
5
kTXNDontDrawTextBit
=
6
kTXNSetFlushnessMask
=
1L
<<
kTXNSetFlushnessBit
kTXNSetJustificationMask
=
1L
<<
kTXNSetJustificationBit
kTXNUseFontFallBackMask
=
1L
<<
kTXNUseFontFallBackBit
kTXNRotateTextMask
=
1L
<<
kTXNRotateTextBit
kTXNUseVerticalTextMask
=
1L
<<
kTXNUseVerticalTextBit
kTXNDontUpdateBoxRectMask
=
1L
<<
kTXNDontUpdateBoxRectBit
kTXNDontDrawTextMask
=
1L
<<
kTXNDontDrawTextBit
kTXNFontContinuousBit
=
0
kTXNSizeContinuousBit
=
1
kTXNStyleContinuousBit
=
2
...
...
@@ -61,13 +83,14 @@ kTXNEntireWordBit = 1
kTXNUseEncodingWordRulesBit
=
31
kTXNIgnoreCaseMask
=
1L
<<
kTXNIgnoreCaseBit
kTXNEntireWordMask
=
1L
<<
kTXNEntireWordBit
kTXNUseEncodingWordRulesMask
=
1L
<<
kTXNUseEncodingWordRulesBit
kTXNUseEncodingWordRulesMask
=
(
unsigned
long
)(
1L
<<
kTXNUseEncodingWordRulesBit
)
kTXNTextensionFile
=
FOUR_CHAR_CODE
(
'txtn'
)
kTXNTextFile
=
FOUR_CHAR_CODE
(
'TEXT'
)
kTXNPictureFile
=
FOUR_CHAR_CODE
(
'PICT'
)
kTXNMovieFile
=
MovieFileType
kTXNMovieFile
=
FOUR_CHAR_CODE
(
'MooV'
)
kTXNSoundFile
=
FOUR_CHAR_CODE
(
'sfil'
)
kTXNAIFFFile
=
FOUR_CHAR_CODE
(
'AIFF'
)
kTXNUnicodeTextFile
=
FOUR_CHAR_CODE
(
'utxt'
)
kTXNTextEditStyleFrameType
=
1
kTXNPageFrameType
=
2
kTXNMultipleFrameType
=
3
...
...
@@ -87,7 +110,13 @@ kTXNAutoIndentStateTag = FOUR_CHAR_CODE('auin')
kTXNTabSettingsTag
=
FOUR_CHAR_CODE
(
'tabs'
)
kTXNRefConTag
=
FOUR_CHAR_CODE
(
'rfcn'
)
kTXNMarginsTag
=
FOUR_CHAR_CODE
(
'marg'
)
kTXNFlattenMoviesTag
=
FOUR_CHAR_CODE
(
'flat'
)
kTXNDoFontSubstitution
=
FOUR_CHAR_CODE
(
'fSub'
)
kTXNNoUserIOTag
=
FOUR_CHAR_CODE
(
'nuio'
)
kTXNUseCarbonEvents
=
FOUR_CHAR_CODE
(
'cbcb'
)
kTXNDrawCaretWhenInactiveTag
=
FOUR_CHAR_CODE
(
'dcrt'
)
kTXNDrawSelectionWhenInactiveTag
=
FOUR_CHAR_CODE
(
'dsln'
)
kTXNDisableDragAndDropTag
=
FOUR_CHAR_CODE
(
'drag'
)
kTXNTypingAction
=
0
kTXNCutAction
=
1
kTXNPasteAction
=
2
...
...
@@ -103,7 +132,7 @@ kTXNDropAction = 11
kTXNMoveAction
=
12
kTXNFontFeatureAction
=
13
kTXNFontVariationAction
=
14
kTXNUndoLastAction
=
1024
kTXNUndoLastAction
=
1024
# kTXNClearThisControl = (long)0xFFFFFFFF
# kTXNClearTheseFontFeatures = (long)0x80000000
kTXNReadWrite
=
false
...
...
@@ -118,6 +147,12 @@ kTXNSyncKeyboard = false
kTXNNoSyncKeyboard
=
true
kTXNAutoIndentOff
=
false
kTXNAutoIndentOn
=
true
kTXNDontDrawCaretWhenInactive
=
false
kTXNDrawCaretWhenInactive
=
true
kTXNDontDrawSelectionWhenInactive
=
false
kTXNDrawSelectionWhenInactive
=
true
kTXNEnableDragAndDrop
=
false
kTXNDisableDragAndDrop
=
true
kTXNRightTab
=
-
1
kTXNLeftTab
=
0
kTXNCenterTab
=
1
...
...
@@ -128,13 +163,15 @@ kTXNFlushLeft = 1
kTXNFlushRight
=
2
kTXNCenter
=
4
kTXNFullJust
=
8
kTXNForceFullJust
=
16
kTXNForceFullJust
=
16
kScrollBarsAlwaysActive
=
true
kScrollBarsSyncWithFocus
=
false
# kTXNDontCareTypeSize = (long)0xFFFFFFFF
kTXNDontCareTypeStyle
=
0xFF
kTXNIncrementTypeSize
=
0x00000001
# kTXNDecrementTypeSize = (long)0x80000000
kTXNUseScriptDefaultValue
=
-
1
kTXNNoFontVariations
=
0x7FFF
# kTXNUseCurrentSelection = 0xFFFFFFFFUL
# kTXNStartOffset = 0UL
# kTXNEndOffset = 0x7FFFFFFFUL
...
...
@@ -156,9 +193,19 @@ kTXNATSUIFontVariationsAttribute = FOUR_CHAR_CODE('atva')
# kTXNQDFontStyleAttributeSize = sizeof(Style)
# kTXNQDFontColorAttributeSize = sizeof(RGBColor)
# kTXNTextEncodingAttributeSize = sizeof(TextEncoding)
kTXNFontSizeAttributeSize
=
sizeof
(
Fixed
)
kTXNSystemDefaultEncoding
=
0
kTXNMacOSEncoding
=
1
kTXNUnicodeEncoding
=
2
kTXNBackgroundTypeRGB
=
1
kTXNTextInputCountBit
=
0
kTXNRunCountBit
=
1
kTXNTextInputCountMask
=
1L
<<
kTXNTextInputCountBit
kTXNRunCountMask
=
1L
<<
kTXNRunCountBit
kTXNAllCountMask
=
kTXNTextInputCountMask
|
kTXNRunCountMask
kTXNNoAppleEventHandlersBit
=
0
kTXNRestartAppleEventHandlersBit
=
1
kTXNNoAppleEventHandlersMask
=
1
<<
kTXNNoAppleEventHandlersBit
kTXNRestartAppleEventHandlersMask
=
1
<<
kTXNRestartAppleEventHandlersBit
# status = TXNInitTextension( &defaults
# justification = LMTESysJust
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment