nevadascout / dash-core

The ultimate SQF development environment for Bohemia Interactive's ArmA series
http://dash.nevadascout.com
GNU General Public License v3.0
18 stars 10 forks source link

Add tooltip when hovering over user variables #53

Open nevadascout opened 9 years ago

nevadascout commented 9 years ago

Wire up ToolTipNeeded event handler on FCTB.

Example usage:

if (!string.IsNullOrEmpty(e.HoveredWord))
{
    e.ToolTipTitle = e.HoveredWord;
    e.ToolTipText = "This is tooltip for '" + e.HoveredWord + "'";
}
nevadascout commented 9 years ago

Can use the lexer in 2.0 to add contextual detail to the tooltip