|
wxMaxima
|
Reaching a cell's output with the keyboard (GH #2382). 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 "MathParser.h"#include "cells/MatrCell.h"#include "cells/GroupCell.h"#include "worksheet/Worksheet.h"#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("A cell's output is split into results") | |
| SCENARIO ("Up and Down walk through a cell's output (GH #2382)") | |
| SCENARIO ("Down leaves a cell that has no output, as before") | |
| SCENARIO ("Up and Down can be told to skip the output, as they used to") | |
| SCENARIO ("By default Up and Down don't skip the output") | |
| SCENARIO ("Enter and Escape go into an expression and back out (GH #2382)") | |
| SCENARIO ("The parts of an expression leave out linear-form glyphs") | |
| SCENARIO ("Enter on a part that has no parts keeps its old meaning") | |
| SCENARIO ("Shift+Left/Right grow and shrink the selection over neighbours") | |
| SCENARIO ("In a matrix the arrow keys move from entry to entry") | |
| SCENARIO ("Shift+Up/Down in a cell's output select whole cells from there") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Reaching a cell's output with the keyboard (GH #2382).
Down at the end of a cell's input used to leave the cell, so its output could only be selected with the mouse. Now Down steps into the output, one result at a time, and Up walks back. These tests send the key events to the worksheet's own key handler and check what ends up selected. The output is parsed from the XML Maxima sends, so no Maxima is needed.