Tk Library Source Code

View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: 3567463
Title: ctext sends <<Modified>> too often
Type: Bug Version: None
Submitter: duquette Created on: 2012-09-13 20:39:35
Subsystem: tklib :: ctext Assigned To: nobody
Priority: 5 Medium Severity:
Status: Open Last Modified: 2012-09-13 20:39:35
Resolution: None Closed By:
    Closed on:
The Tk text widget sends the <<Modified>> virtual event when the state of the [$w edit modified] flag changes.  The ctext widget sends <<Modified>> on every change, whether the [$w edit modified] flag has actually changed or not.  The ctext widget's interface should mimic the text widget's interface here; if there are actions you want to do when the editor's content has just become unsaved, you don't want to repeat them every time they add another character.