wxMaxima
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
test_OutputKeyboardNavigation.cpp File Reference

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/GroupCell.h"
#include "worksheet/Worksheet.h"
#include <catch2/catch.hpp>
Include dependency graph for test_OutputKeyboardNavigation.cpp:

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")
 
 wxDECLARE_APP (TestApp)
 
int main (int argc, char **argv)
 

Detailed Description

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.