|
wxMaxima
|
Pins the worksheet's "add cells to the evaluation queue" behavior before the Add*ToEvaluationQueue family is extracted into WorksheetEvalQueue. More...
#include <wx/app.h>#include <wx/bitmap.h>#include <wx/dcmemory.h>#include <wx/frame.h>#include <wx/log.h>#include "Configuration.h"#include "EvaluationQueue.h"#include "worksheet/Worksheet.h"#include "cells/EditorCell.h"#include "cells/GroupCell.h"#include "cells/TextCell.h"#include <cstdlib>#include <unistd.h>#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("AddDocumentToEvaluationQueue enqueues every code cell and parks the " "caret at the end") | |
| SCENARIO ("AddEntireDocumentToEvaluationQueue enqueues every code cell") | |
| SCENARIO ("AddToEvaluationQueue skips a non-code cell but takes a code cell") | |
| SCENARIO ("AddSelectionToEvaluationQueue(start,end) enqueues only the range and " "parks the caret at the range end") | |
| SCENARIO ("AddSelectionToEvaluationQueue() uses the current selection") | |
| SCENARIO ("AddRestToEvaluationQueue from an active cell enqueues from that cell " "onwards") | |
| SCENARIO ("AddRestToEvaluationQueue from the h-caret enqueues the cells below " "it") | |
| SCENARIO ("AddRestToEvaluationQueue from a selection starts after the " "selection's group") | |
| SCENARIO ("AddDocumentTillHereToEvaluationQueue enqueues up to the caret and " "does not move it") | |
| SCENARIO ("AddCellToEvaluationQueue enqueues one cell and parks the caret on " "it") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Pins the worksheet's "add cells to the evaluation queue" behavior before the Add*ToEvaluationQueue family is extracted into WorksheetEvalQueue.
Each Worksheet::Add*ToEvaluationQueue method decides which group cells to enqueue (only visible code cells are eligible) and where the h-caret should land afterwards. These scenarios pin both - including the quirks in how the "rest of the document" start point is derived from the active cell, a selection or the h-caret - so the extraction cannot change them.