Show
Ignore:
Timestamp:
09/02/08 02:59:30 (5 years ago)
Author:
martin_r
Message:

AHK: Bugs ausgebessert.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • windows/autohotkey/Source/Methods-Other.ahk

    r838 r840  
    7676      send {bs} 
    7777    send % val 
     78    isFurtherCompKey = 0 
    7879    return 1 
    7980  } 
     
    8788        send {bs} 
    8889      send % val1 
     90      isFurtherCompKey = 0 
    8991      return 1 
    9092    } else if (Ebene = 2) and (val2 != "") { 
     
    9294        send {bs} 
    9395      send % val2 
    94       isSecondCompKey = 0 
     96      isFurtherCompKey = 0 
    9597      return 1 
    9698    } 
     
    101103  if (PriorCompKey == d) { 
    102104    PriorCompKey = 
     105    CompKey = 
    103106    if !DeadCompose 
    104107      send {bs} 
     
    114117    if (Ebene = 1) and (val1 != "") { 
    115118      PriorCompKey = 
     119      CompKey = 
    116120      if !DeadCompose 
    117121        send {bs} 
     
    121125    } else if (Ebene = 2) and (val2 != "") { 
    122126      PriorCompKey = 
     127      CompKey = 
    123128      if !DeadCompose 
    124129        send {bs} 
     
    134139  if (PriorCompKey == d) { 
    135140    PriorCompKey = 
     141    CompKey = 
    136142    if !DeadCompose 
    137143      send {bs}{bs} 
     
    147153    if (Ebene = 1) and (val1 != "") { 
    148154      PriorCompKey = 
     155      CompKey = 
    149156      if !DeadCompose 
    150157        send {bs}{bs} 
     
    154161    } else if (Ebene = 2) and (val2 != "") { 
    155162      PriorCompKey = 
     163      CompKey = 
    156164      if !DeadCompose 
    157165        send {bs}{bs} 
     
    184192  if isFurtherCompkey { 
    185193    PriorCompKey := CompKey := PriorCompKey . "_" . d 
     194    isFurtherCompkey = 0 
    186195    CheckCompose() 
    187     CompKey = 
    188     isFurtherCompkey := 0 
    189     return 1 
     196    if (CompKey = "") 
     197      return 1 
     198    else CompKey = 
    190199  } 
    191200  else 
     
    193202    PriorCompKey := CompKey := PriorCompKey . "_" . d 
    194203    CheckCompose() 
    195     isFurtherCompKey := 1 
     204    if CompKey 
     205      isFurtherCompKey = 1 
    196206    return 1 
    197207  }