Pins "Forget known answers" (GH #1018): wxMaxima remembers the answers given to Maxima's questions and saves them with the worksheet, so a user who wants to start over needs a way to drop them – for the cell under the cursor, or for every cell in the selection, and for no other cell.
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 "worksheet/Worksheet.h"
#include "cells/EditorCell.h"
#include "cells/GroupCell.h"
#include <catch2/catch.hpp>
|
|
| SCENARIO ("A GroupCell forgets its answers") |
| |
|
| SCENARIO ("Forget known answers acts on the selected cells only") |
| |
|
| SCENARIO ("Forget known answers acts on the cell the cursor is in") |
| |
|
| SCENARIO ("Forget known answers without a cursor or a selection does nothing") |
| |
|
| wxDECLARE_APP (TestApp) |
| |
|
int | main (int argc, char **argv) |
| |
Pins "Forget known answers" (GH #1018): wxMaxima remembers the answers given to Maxima's questions and saves them with the worksheet, so a user who wants to start over needs a way to drop them – for the cell under the cursor, or for every cell in the selection, and for no other cell.