|
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
|
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: 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 |
|
|
|
|
|