Ticket #276: libview_fix_1_of_1_rev_61f77598b7f9_Fixed_example_code__was_using_obsolete_code__in_KeyboardMap__aliasesForLogical__and_fixed_typo_in_KeyboardMap_class__documentation.patch

File libview_fix_1_of_1_rev_61f77598b7f9_Fixed_example_code__was_using_obsolete_code__in_KeyboardMap__aliasesForLogical__and_fixed_typo_in_KeyboardMap_class__documentation.patch, 1.2 KB (added by patrik.svestka@…, 5 years ago)

a patch to fix bugs

  • KeyboardMap.st

    # HG changeset patch
    # User Patrik Svestka <patrik.svestka@gmail.com>
    # Date 1556789821 -7200
    #      Thu May 02 11:37:01 2019 +0200
    # Branch jv
    # Node ID 61f77598b7f964b50f32dde470029419374411c6
    # Parent  b8c81b323931dbb4032ff12b13a05b6bb800bf6d
    Fixed example code (was using obsolete code) in KeyboardMap>>aliasesForLogical: and fixed typo in KeyboardMap class>>documentation
    
    diff -r b8c81b323931 -r 61f77598b7f9 KeyboardMap.st
    a b  
    8888            (Paste  Ctrlv   (Cmdv ShiftInsert)
    8989        )
    9090
    91     For details about the format of definition array see commebt in
     91    For details about the format of definition array see comment in
    9292    KeyboardMap >> #loadKeyboardMapDefinition: .
    9393
    9494    To remove a mapping, use the same value for both logical and physical key,
     
    375375
    376376
    377377    "
    378     Screen current keyboardMap rawKeysForLogical: #Copy
     378    Screen current keyboardMap aliasesForLogical: #Copy
    379379    "
    380380
    381381    "Created: / 15-05-2017 / 21:27:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     382    "Modified (comment): / 02-05-2019 / 11:09:30 / svestkap"
    382383!
    383384
    384385bindingForLogical: logicalKey