Ignore:
Timestamp:
03/08/03 03:15:01 (18 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEE 1.3.2b1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEWebKit.m

    r74 r106  
    8383        WebCoreBridge *bridge = [(WebHTMLView *)self _bridge];
    8484        ICCF_GetWebCoreBridgeSelection(bridge, &selection);
     85        ICLog(@"selection start %d@%@ end %d@%@ string %@", [bridge selectionStartOffset], [bridge selectionStart], [bridge selectionEndOffset], [bridge selectionEnd], [bridge selectedString]);
    8586        // XXX hack until we have something better
    8687        [selectedString release]; selectedString = nil;
     
    117118            // XXX works, but doesn't update
    118119            ICCF_StartIC();
    119             ICCF_LaunchURL(selectedString, ICCF_OptionKeyIsDown());
     120            ICCF_LaunchURL(selectedString, ICCF_KeyboardAction());
     121            // breaks in Safari v62 and before
    120122            ICCF_SetWebCoreBridgeSelection(bridge, &selection);
    121123            if (ICCF_prefs.textBlinkEnabled) {
     
    133135
    134136        ICCF_StopIC();
     137        // XXX need to release fromNode, toNode
    135138
    136         // ICLog(@"selection start %d end %d string %@", [bridge selectionStartOffset], [bridge selectionEndOffset], [bridge selectedString]);
    137139        // [bridge forceLayout];
    138140        // ICLog(@"force start %d end %d string %@", [bridge selectionStartOffset], [bridge selectionEndOffset], [bridge selectedString]);
Note: See TracChangeset for help on using the changeset viewer.