[Feature] Add root and log setting (#290)

* [setting + layout] add function setting

* [GitHub] GitHub Actions

* [GitHub/Fix] GitHub Actions

* Update config.mak

* Fix setting name

* Fix setting name

* Fix setting name

* Fix setting name

* Fix setting name

* Fix setting name

* Fix typo error

* Fix trad

Co-authored-by: Quentin Guidée <quentin.guidee@gmail.com>
This commit is contained in:
Evann DREUMONT
2020-06-13 00:10:33 +02:00
committed by GitHub
parent b7a5abe597
commit f0c46adebe
16 changed files with 182 additions and 6 deletions

View File

@@ -343,7 +343,9 @@ bool LayoutField::handleEventWithText(const char * text, bool indentation, bool
} else if (strcmp(text, Ion::Events::Power.text()) == 0) {
cursor->addEmptyPowerLayout();
} else if (strcmp(text, Ion::Events::Sqrt.text()) == 0) {
cursor->addEmptySquareRootLayout();
m_contentView.cursor()->addRoot();
} else if (strcmp(text, Ion::Events::Log.text()) == 0) {
m_contentView.cursor()->addLog();
} else if (strcmp(text, Ion::Events::Square.text()) == 0) {
cursor->addEmptySquarePowerLayout();
} else if (strcmp(text, Ion::Events::EE.text()) == 0) {