MCPcopy Create free account
hub / github.com/audacity/audacity / HelpText

Function HelpText

libraries/lib-wx-init/HelpText.cpp:238–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238wxString HelpText( const wxString & Key )
239{
240
241 // Possible future enhancement...
242 // We could look for the text as a local file and use
243 // that if we find it...
244 // if( wxFileExists( Path+Key ) )
245 // ...
246
247 wxString Text;
248 Text = HelpTextBuiltIn( Key );
249
250 if( !Text.empty())
251 return LinkExpand( Text );
252
253 // Perhaps useful for debugging - we'll return key that we didn't find.
254 return WrapText( Key );
255}
256
257
258wxString FormatHtmlText( const wxString & Text ){

Callers 4

OnHelpMethod · 0.85
ShowHelpMethod · 0.85
OnLinkClickedMethod · 0.85
OnHelpMethod · 0.85

Calls 4

HelpTextBuiltInFunction · 0.85
LinkExpandFunction · 0.85
WrapTextFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected