|
wxMaxima
|
The directory-scanning half of the bash-like file-name completion: file arguments of openr()/read_matrix()/load()/demo()/... complete against the directory the partial file name currently points into, descending level by level as the partial acquires directory components (the popup calls AutoComplete::UpdateFiles() on every boundary change). More...
#include <wx/app.h>#include <wx/bitmap.h>#include <wx/dcmemory.h>#include <wx/dir.h>#include <wx/ffile.h>#include <wx/filename.h>#include <wx/log.h>#include <algorithm>#include <vector>#include "Autocomplete.h"#include "Configuration.h"#include <cstdlib>#include <unistd.h>#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("General file completion lists the directory the partial points into") | |
| SCENARIO ("Load-file completion only offers loadable files") | |
| SCENARIO ("Only the file-name completion types complete files") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
The directory-scanning half of the bash-like file-name completion: file arguments of openr()/read_matrix()/load()/demo()/... complete against the directory the partial file name currently points into, descending level by level as the partial acquires directory components (the popup calls AutoComplete::UpdateFiles() on every boundary change).
Runs against a temporary directory tree, no Maxima and no GUI needed.