Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: ef13f19bc0acd1df93f478d3551790b7c457672a2c0151ed43664e336353256a
Ticket: b68710aed673d0bb25d9c63a29eefd3b3a57d9e3
Minor fixes to library/text.tcl bindings
User & Date: fvogel 2018-01-18 00:51:14
Changes

  1. icomment:
    Fix for #4 (at the C code level) is now in the bugfix branch [http://core.tcl.tk/tk/timeline?r=bug-b68710aed6|bug-b68710aed6]. All tests I have added regarding <<Selection>> event do pass now with [6e14c473].
    
    Keith, could you please have a look and test whether this is OK for you?
    
    Two points to keep in mind while testing:
    
    - I still need to refine the fix for <<Selection>> generation upon text insertion. The edge case is not yet dealt with.
    
    - According to the man page, <<Selection>> should fire whenever the <b>text widget selection</b> is changed. This may or may not impact the <b>PRIMARY</b> (X) selection (this depends on -exportselection). The fix you originally proposed for #4 triggered <<Selection>> only if -exportselection is true. If I read the man page correctly this was incorrect.
    
    Thanks for your help!
    
  2. login: "fvogel"
  3. mimetype: "text/x-fossil-wiki"