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.
 Entire forum ➜ MUSHclient ➜ General ➜ New feature - word completion for scripters

New feature - word completion for scripters

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


Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Fri 20 Jan 2006 05:31 AM (UTC)
Message

Version 3.73 offers a nifty new feature for scripters - word completion. To use this, start typing an inbuilt function name (eg. 'no' for Note) and then press Ctrl+Space in the notepad window. You will see a small list of all the script functions that start with 'no', and all you have to do is choose one and press <enter>.


- Nick Gammon

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

Posted by Fred   (11 posts)  Bio
Date Reply #1 on Fri 20 Jan 2006 06:52 AM (UTC)
Message
I hope the hot key for this feature is changeable. ctrl+space is very easy to conflict with other programs, such as input language switch...
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 20 Jan 2006 07:40 AM (UTC)
Message
I'm not sure you can change it in the notepad. I note that MS Visual Studio uses the same hotkey for a similar purpose.

Do you have a suggestion for a better one?

- Nick Gammon

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

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #3 on Fri 20 Jan 2006 06:42 PM (UTC)
Message
Nice.. Now if this also had Scite like language coloring, especially with proper coloring for client functions, it would be perfect. Scite itself requires a recompile to just get it to color the commands different and you can't tell it to do something useful, like making them green, while language specific ones are blue, etc. All you can do is hand edit the basic language file to add every new command into the, "color this as well", list. Its a bit annoying. A decent coloring system would recognize those that are client specific and color them uniquely, reguardless of the language.

Still, command completion is a major step forward. I like!
Top

Posted by Fred   (11 posts)  Bio
Date Reply #4 on Sun 22 Jan 2006 05:02 AM (UTC)
Message
ctrl+space is fine, just hope it can be set to other hotkey by user. You know it's useful feature and will be use quite a lot, if the hotkey is conflit with other system which is very possible, sometime user will wish they can set the hotkey to other.
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #5 on Sun 22 Jan 2006 11:02 PM (UTC)
Message
There is no provision in MUSHclient to reconfigure hotkeys in the inbuilt notepad. Hopefully you don't need to switch input languages frequently whilst scripting.

- 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.


19,178 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.