[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  highlighting with search function
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

highlighting with search function

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


Posted by Feantur   (70 posts)  [Biography] 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.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] 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.


5,435 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]