Tk Library Source Code

View Ticket
Login
Ticket UUID: 654976
Title: Text highlighting for chat window
Type: Patch Version: None
Submitter: lukekalemyers Created on: 2002-12-17 02:26:30
Subsystem: app: tkchat Assigned To: eee
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-02-08 07:22:59
Resolution: Invalid Closed By: patthoyts
    Closed on: 2004-02-08 00:22:59
Description:
Adds a menu entry called "Find" to the File menu. This
menu invokes a UI to highlight a string of text in the
chat window.
User Comments: patthoyts added on 2004-02-08 07:22:59:
Logged In: YES 
user_id=202636

Gonna close this now.

patthoyts added on 2003-03-29 09:20:04:
Logged In: YES 
user_id=202636

We have applied another patch for a find function that uses
/?regex typed into the entry widget. However, we might want
to add a Find menu item like this too.

lukekalemyers added on 2003-01-01 11:33:18:

File Added - 38579: patch.diff

Logged In: YES 
user_id=241231

Yet another revision. This patch includes support for
navigating between results in the chat window and obsoletes
all previous patches.

lukekalemyers added on 2002-12-22 05:59:41:
Logged In: YES 
user_id=241231

Hmm, it says:

File Delete: ArtifactFile: Permission Denied

well, that's okay since they are identical AFAIK

lukekalemyers added on 2002-12-22 05:58:06:
Logged In: YES 
user_id=241231

Looks like there were two identical .tar.gz archives added.
I will try to delete one duplicate...

lukekalemyers added on 2002-12-20 11:02:27:

File Added - 37998: final-patches.tar.gz

lukekalemyers added on 2002-12-20 11:02:26:
Logged In: YES 
user_id=241231

EE, Thanks for all your help as I tried to get up to speed
on these development tools.

-- Luke Myers

lukekalemyers added on 2002-12-20 10:59:08:

File Added - 37997: final-patches.tar.gz

lukekalemyers added on 2002-12-19 23:24:01:

File Added - 37972: tkchat.patch

Logged In: YES 
user_id=241231

Updated comment for the second patch


 This code provides to highlight interesting text in the
tkchat message window.

The user interface can be invoked in two ways:
1.) Through the Find entry on the FIle menu.
2.) By entering /find in the message post window.
(command line) The /find command may have an optional
argument, which will then be used as the search string.

To highlight an exact string or regexp pattern, enter
it in "Find text" field. All matches in the chat
window will be highlighted. Should the search be a
time consuming one, it will pause when the Find dialog
is closed and resume when it is re-opened.

To remove all highlighting, clear the "Find text" field
in the Find dialog.

Known caveats:

Sub-strings are not highlighted separately from the
rest of the matching text when using regexp
sub-matching. The whole match will be highlighted the
same. This is a limitation of of the [text] -search
command.

lukekalemyers added on 2002-12-17 10:22:27:

File Added - 37763: patch.txt

Attachments: