Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ highlighting with search function

highlighting with search function

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Feantur   (70 posts)  Bio
Date Wed 08 Dec 2004 08:02 PM (UTC)
Message
Using Ctrl-F you can search the output buffer from the main window.

My suggestions are:

1. A hotkey/shortcut that lets you search for the next occurrence.

2. A hotkey/shortcut that lets you highlight all occurrence with a customisable colour (a bit like a temporary trigger).

In summary it would be nice if the search function worked similarly to what Firefox offers these days.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #1 on Wed 08 Dec 2004 09:29 PM (UTC)
Message
Maybe even a "search as you type" option?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Wed 08 Dec 2004 09:42 PM (UTC)
Message
Search as you type would have to be incompatible with 'all typing goes to output window'.
Quote:
1. A hotkey/shortcut that lets you search for the next occurrence.
Doesn't shift-ctrl-F do this already?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 08 Dec 2004 09:48 PM (UTC)
Message
Yes, shift+ctrl+F does that, and if you want to find all occurences use "recall".

Display menu -> Recall Text (Ctrl+U).


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #4 on Wed 08 Dec 2004 09:49 PM (UTC)
Message
No, i mean searching as you type the word in the search dialog.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 08 Dec 2004 09:54 PM (UTC)
Message
Do the words "application bloat" ring a bell?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #6 on Thu 09 Dec 2004 12:05 AM (UTC)
Message
It's just two lines of code :p

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 09 Dec 2004 02:57 AM (UTC)
Message
Don't quite follow that. I would need to, after each character, go into the search routine, highlight words, scroll to make them visible, and so on.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #8 on Thu 09 Dec 2004 10:50 PM (UTC)
Message
Ah, well, I was just saying that the search as you type feature would work as the normal search feature, except it would click search automatically after each keypress. Not a big deal, really.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #9 on Thu 09 Dec 2004 11:35 PM (UTC)
Message
That wouldn't quite work, though, because search as you type is from the starting position - if you "clicked search" after every keystroke you'd be changing the start position every time.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #10 on Fri 10 Dec 2004 12:35 AM (UTC)
Message
Quite right, and for regular expressions you wouldn't know when it was safe to send them to the regexp parser.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


25,852 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.