Changeset 838 for windows/autohotkey/Source/Methods-Other.ahk
- Timestamp:
- 09/02/08 01:04:37 (5 years ago)
- Files:
-
- 1 modified
-
windows/autohotkey/Source/Methods-Other.ahk (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/autohotkey/Source/Methods-Other.ahk
r833 r838 76 76 send {bs} 77 77 send % val 78 isSecondCompKey = 079 78 return 1 80 79 } … … 88 87 send {bs} 89 88 send % val1 90 isSecondCompKey = 091 89 return 1 92 90 } else if (Ebene = 2) and (val2 != "") { … … 105 103 if !DeadCompose 106 104 send {bs} 105 isFurtherCompkey = 0 107 106 SendUnicodeChar(val) 108 isSecondCompKey = 0109 107 return 1 110 108 } … … 118 116 if !DeadCompose 119 117 send {bs} 118 isFurtherCompkey = 0 120 119 SendUnicodeChar(val1) 121 isSecondCompKey = 0122 return 1123 } else if (Ebene = 2) and (val2 != "") {124 PriorCompKey =125 if !DeadCompose126 send {bs}120 return 1 121 } else if (Ebene = 2) and (val2 != "") { 122 PriorCompKey = 123 if !DeadCompose 124 send {bs} 125 isFurtherCompkey = 0 127 126 SendUnicodeChar(val2) 128 isSecondCompKey = 0129 127 return 1 130 128 } … … 138 136 if !DeadCompose 139 137 send {bs}{bs} 138 isFurtherCompkey = 0 140 139 SendUnicodeChar(val) 141 isSecondCompKey = 0142 140 return 1 143 141 } … … 151 149 if !DeadCompose 152 150 send {bs}{bs} 151 isFurtherCompkey = 0 153 152 SendUnicodeChar(val1) 154 isSecondCompKey = 0155 153 return 1 156 154 } else if (Ebene = 2) and (val2 != "") { … … 158 156 if !DeadCompose 159 157 send {bs}{bs} 158 isFurtherCompkey = 0 160 159 SendUnicodeChar(val2) 161 isSecondCompKey = 0162 160 return 1 163 161 } … … 167 165 OutputChar(val) { 168 166 global 169 if !( (CheckComp(val) or PriorCompKey) and DeadCompose)167 if !(CheckComp(val) and DeadCompose) 170 168 send % "{blind}" . val 171 169 } … … 176 174 c := val1 177 175 else c := val2 178 if !( (CheckComp(c) or PriorCompKey) and DeadCompose)176 if !(CheckComp(c) and DeadCompose) 179 177 if GetKeyState("Shift","P") and isMod2Locked 180 178 send % "{blind}{Shift Up}" . c . "{Shift Down}" … … 184 182 CheckComp(d) { 185 183 global 184 if isFurtherCompkey { 185 PriorCompKey := CompKey := PriorCompKey . "_" . d 186 CheckCompose() 187 CompKey = 188 isFurtherCompkey := 0 189 return 1 190 } 191 else 192 if PriorCompKey { 193 PriorCompKey := CompKey := PriorCompKey . "_" . d 194 CheckCompose() 195 isFurtherCompKey := 1 196 return 1 197 } 198 else 186 199 if (PriorDeadKey = "comp") { 187 200 CompKey := d 188 201 return 1 189 } else if isSecondCompKey { 190 isSecondCompKey = 0 191 CompKey = 192 PriorCompKey = 193 ;goto neo_%lastHook% 194 } else if PriorCompKey { 195 CompKey := PriorCompKey . "_" . d 196 isSecondCompKey = 1 197 return 1 198 } 199 } 202 } 203 }
