Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
completion.h File Reference

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 
namespace  ug::bridge
 

Functions

int ug::bridge::CompletionFunction (char *buf, int len, int buflen, int iPrintCompletionList)
 A function to implement word completion of classes and functions of ugscript When entered Dom<tab>, it completes to Domain2d, for example. If Domain2d and Domain3d are registered, it completes to Domain and shows suggestions Domain2d and Domain3d. currently only works with Linenoise. todo: - not all completions must have same snipped length. change.
 
void ug::bridge::SetOtherCompletions (const char **otherCompletions, int nr)