Tk Source Code

View Ticket
Login
2016-03-20
08:28 Closed ticket [3469780fff]: Additional options for text widget tags plus 6 other changes artifact: 14465e93da user: fvogel
2016-03-08
21:36 Ticket [3469780fff]: 3 changes artifact: 822f6bfb57 user: fvogel
2016-01-08
08:11 Ticket [3469780fff]: 7 changes artifact: 038d2f0da6 user: fvogel
08:10 Ticket [1759972fff] New tag option -selectforeground status still Open with 7 other changes artifact: 803c3ef475 user: fvogel
2014-02-19
21:42 Ticket [3469780fff] Additional options for text widget tags status still Open with 1 other change artifact: 3648548691 user: andreask
2012-01-12
03:02 Ticket [3469780fff]: 4 changes artifact: 43b7933ab3 user: fvogelnew1
2012-01-05
19:39 Ticket [3469780fff]: 4 changes artifact: 00c571dffb user: fvogelnew1
19:34 Add attachment selectbg_1.patch to ticket [3469780fff] artifact: ce50de0d19 user: fvogelnew1
19:34 Ticket [3469780fff] Additional options for text widget tags status still Open with 4 other changes artifact: a418cfcf4a user: fvogelnew1
12:32 New ticket [3469780fff]. artifact: c45c0cadc4 user: fvogelnew1

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: