Tk Library Source Code

View Ticket
Login
Ticket UUID: 1167797
Title: 8.5 speed improvement via -all
Type: Patch Version: None
Submitter: georgeps Created on: 2005-03-21 18:53:09
Subsystem: tklib: ctext Assigned To: georgeps
Priority: 5 Medium Severity:
Status: Open Last Modified: 2005-03-22 01:53:10
Resolution: None Closed By:
    Closed on:
Description:
Date: Thu, 10 Feb 2005 12:24:38 -0400
From: Andrew Black <[email protected]>
To: [email protected]
Subject: ctext patch
Parts/Attachments:
   1 Shown     14 lines  Text
   2   OK    ~7.4 KB     Text
----------------------------------------
Hi George, Ive attached a patch to ctext.  It includes
a highlight85 proc
which uses the -all flag for searching (according to
time I am seeing an
average of 36% increase in speed)  And an overhaul of
the linemap.  I did a full height widget with all
linenumbers, and linked the yviews of the two text
widgets.  There is also a change to use a tile frame if
tile has been loaded.
 There were a couple of other minor tweaks, but they
were purely personal, so review the patch carefully. 
Mainly, I turned off quote matching and increased the
flash time for bracematching.  Hope this helps.

--
Andrew J. Black
Chief Engineer
Automatic Rolls of Virginia
    [ Part 2, Text/X-PATCH (Name: "ctext.tcl.patch") 
127 lines. ]

----
The linemap changes may not handle images, or wrapping
lines... -GPS
User Comments: georgeps added on 2005-03-22 01:53:10:

File Added - 126614: ctext.tcl.patch

Attachments: