mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion/storage] Added the "ctrl-z" system everywhere
This commit is contained in:
@@ -8,9 +8,6 @@ namespace Solver {
|
||||
class Equation : public Shared::ExpressionModelHandle {
|
||||
public:
|
||||
Equation(Ion::Storage::Record record = Record()) : ExpressionModelHandle(record) {}
|
||||
bool shouldBeClearedBeforeRemove() override {
|
||||
return false;
|
||||
}
|
||||
Poincare::Expression standardForm(Poincare::Context * context, bool replaceFunctionsButNotSymbols, Poincare::ExpressionNode::ReductionTarget reductionTarget) const { return m_model.standardForm(this, context, replaceFunctionsButNotSymbols, reductionTarget); }
|
||||
bool containsIComplex(Poincare::Context * context) const;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "equation_list_view.h"
|
||||
#include "equation_models_parameter_controller.h"
|
||||
#include <apps/i18n.h>
|
||||
#include <ion/storage.h>
|
||||
|
||||
namespace Solver {
|
||||
|
||||
@@ -45,6 +46,8 @@ public:
|
||||
bool layoutFieldDidFinishEditing(LayoutField * layoutField, Poincare::Layout layout, Ion::Events::Event event) override;
|
||||
/* Specific to Solver */
|
||||
void resolveEquations();
|
||||
protected:
|
||||
virtual const char * recordExtension() const override { return Ion::Storage::eqExtension; }
|
||||
private:
|
||||
constexpr static int k_maxNumberOfRows = 5; // Ion::Display::Height / Metric::StoreRowHeight = 4.8;
|
||||
SelectableTableView * selectableTableView() override;
|
||||
|
||||
Reference in New Issue
Block a user