Tk Source Code

View Ticket
Login
Ticket UUID: 1217222
Title: [.textw edit undo] return ranges of modified characters
Type: RFE Version: None
Submitter: fvogel Created on: 2005-06-08 20:19:34
Subsystem: 18. [text] Assigned To: fvogel
Priority: 6 Severity: Minor
Status: Closed Last Modified: 2016-08-29 15:40:08
Resolution: Fixed Closed By: fvogel
    Closed on: 2016-08-29 15:40:08
Description:
I would like the text widget command edit undo to return 
as a result the range(s) of characters in the widget that 
were modified (impacted) by the undo operation.

This would allow to apply special processing to these 
ranges, e.g. colorize these chars, flash them, and so on.

Same request for redo, of course.

Thanks,
Francois
User Comments: fvogel added on 2016-08-29 15:40:08:
TIP #449 voted as accepted --> implementation merged to trunk (8.7) only.

fvogel added on 2016-06-11 20:48:25:

TIP #449 now published. Discussion started on [TCL CORE].


fvogel added on 2016-06-07 21:08:50:

Proposed fix : [6cd8c5d9] (implementation only, no documentation update nor tests so far, but wilco)

I think this needs a TIP (and I have submitted it to the TIP editor).


fvogel added on 2016-04-05 21:11:00:
There is a mention of this in the comments of TextUndoRedoCallback (in tkText.c).