Ticket UUID: | 3469780 | |||
Title: | Additional options for text widget tags | |||
Type: | Patch | Version: | None | |
Submitter: | fvogel | Created on: | 2012-01-05 12:32:30 | |
Subsystem: | 18. [text] | Assigned To: | fvogel | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2016-03-20 08:28:43 | |
Resolution: | Fixed | Closed By: | fvogel | |
Closed on: | 2016-03-20 08:28:43 | |||
Description: |
Proposals for implementation of Tk Feature Request #1759972 https://sourceforge.net/tracker/?func=detail&aid=1759972&group_id=12997&atid=362997 | |||
User Comments: |
fvogel added on 2016-03-20 08:28:43:
[http://tip.tcl.tk/443.html|TIP #443] ws accepted by TCT vote. Now merged to core-8-6-branch and trunk. fvogel added on 2016-03-08 21:36:10: TIP #443 deals with this RFE. fvogel added on 2016-01-08 08:11:18: Original request: see [1759972]. fvogelnew1 added on 2012-01-12 03:02:51: Btw, test case showing the new -selectbackground feature: text .t .t insert 1.0 "hello world line 1\n" .t insert end "hello world line 2\n" .t insert end "hello world line 3\n" pack .t .t tag add mytag 1.1 1.4 2.6 2.10 .t tag configure mytag -background green .t tag configure mytag -selectbackground yellow ; # new !! .t tag add sel 1.2 1.7 2.1 2.12 focus -force .t .t tag cget mytag -selectbackground .t tag configure mytag fvogelnew1 added on 2012-01-05 19:39:44: Patch for addition of -selectbackground to text tags. Take this as a trial balloon. If the principles of implementation turn out to be correct, I would provide additional patches for the rest of what is requested in #1759972. The patch is against the latest Fossil sources of Tk. fvogelnew1 added on 2012-01-05 19:34:47: File Added - 432225: selectbg_1.patch |
Attachments:
- selectbg_1.patch [download] added by fvogelnew1 on 2012-01-05 19:34:47. [details]