Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
adamwalker
Apprentice


Joined: 12 Mar 2005
Posts: 195

PostPosted: Mon Nov 13, 2006 9:06 pm   

[1.15] mouseover variable. not bug.
 
Is the ability to mouseover a variable to view its contents implemented in cmud yet?

in zmud we used to be able to mouseover to view the variables contents which was fantastic for debugging and testing
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 13, 2006 11:25 pm   
 
This won't be implemented for a while. In CMUD I chose to use a more general purpose "syntax highlighting" method that could handle other languages, such as VBScript, etc. It uses the same *.STX files as some other editors for controlling syntax highlighting.

The problem with this method is that it's pure "highlighting". It doesn't actually know the full syntax and is not parsing it like zMUD did. The downside of parsing it like zMUD did is that is causes lots of bugs with cursor position and scripts getting reformatted in wierd ways if they don't compile...all of those things that zMUD could do that could screw up your scripts. Instead, CMUD doesn't touch your formatting and only changes the highlighting style. But this means that CMUD has no way to display a variable within a mouse-over hint either.

I was able to extend the code to allow the minimal command/function help in the mouse over, so I think I can also eventually improve this more and add variables. But there are lots of other things that need to be fixed and added before that, sorry.
Reply with quote
adamwalker
Apprentice


Joined: 12 Mar 2005
Posts: 195

PostPosted: Tue Nov 14, 2006 10:52 am   
 
not to worry zugg. if its somewhere on the todo list (even if its at the botttom) im more then satisfied.

chears zugg
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net