Tk Library Source Code

View Ticket
Login
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: 1007764
Title: ctext - Clarifications needed in the documentation
Type: Bug Version: None
Submitter: arjenmarkus Created on: 2004-08-12 06:31:04
Subsystem: tklib :: ctext Assigned To: georgeps
Priority: 5 Medium Severity:
Status: Open Last Modified: 2004-09-30 01:45:15
Resolution: None Closed By:
    Closed on:
Description:
I would like to point out a few missing details in the
documentation of ctext:

1. You need to use the command "hightlight" when the
widget has been filled to get the colouring to show.
(Presumably also after each new addClass command)

2. You need to use unique tag names if you want more
than one regular expression to work for the same
colouring (e.g. alternative formats for comment)

3. Line numbering could interfere with the -elide
option. It appears possible to use the linemap
facilities to make the two work together, but this has
not been described in any detail.