Tk Library Source Code

View Ticket
Login
Ticket UUID: 1007766
Title: Add a case-insensitive matching option to ctext
Type: RFE Version: None
Submitter: arjenmarkus Created on: 2004-08-12 06:37:31
Subsystem: tklib :: ctext Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2022-05-10 12:40:37
Resolution: None Closed By: nobody
    Closed on:
Description:
For my editor of Fortran code I would like to be able
to use case-insensitive matching of keywords. E.g.
"subroutine" would match "Subroutine" as well as
"SUBROUTINE" and any other variations.
User Comments: aku added on 2022-05-10 12:40:37:
@arjen Can you give me a bit more detail about this ?

Is this is about highlighting ? Text searching ? Something else ?

Note that for regexes Tcl supports embedded options.
A no-case regexp for example would start with `(?i)`.

arjenmarkus added on 2004-08-12 13:40:36:
Logged In: YES 
user_id=400048

I forgot to add that it suffices (for me, and I imagine for
most users) to have an option that turns off
case-sensitivity globally.