The docsearch function is now working.

This commit is contained in:
2026-01-14 14:34:54 -05:00
parent 850b4aa43b
commit 03e9928e03
6 changed files with 163 additions and 68 deletions

View File

@@ -202,14 +202,17 @@ public:
// Get function documentation.
//
eng::string function_docs(const LuaCoreStack &LS, LuaSlot slot);
// Returns false if it has no documentation for the specified function.
//
bool function_docs(const LuaCoreStack &LS, LuaSlot slot, std::ostream &ostream);
// Search the documentation.
//
// Search all the documentation for the specified substring.
// In the result, each line points to a different result.
//
util::StringVec search_docs(const eng::string &substring);
// Returns false if it found nothing and output nothing to the stream.
//
bool search_docs(const eng::string &substring, std::ostream &ostream);
// Serialize and unserialize a source vector.
//