Repository navigation
Math tools: a second app around the editor, with a scientific keypad - #39
Open
simonebortolin wants to merge 3 commits into
Open
simonebortolin wants to merge 3 commits into
simonebortolin wants to merge 3 commits into
Conversation
…cientific keypad samples/SharpEquations.Avalonia.MathTools.Demo (desktop) and samples/SharpEquations.Avalonia.Browser.MathTools.Demo (WebAssembly, published by demo.yml under math/ of the site) share MathToolsView, a page per tool. The first is the calculator: functions, powers, structures, constants, digits and operators that type into a MathEditBox as the keyboard does (sin( waits for its argument, x² squares what is before the caret, a/b and √ take the selection), with the equation as UnicodeMath and LaTeX. Tests: the keys type the equation they show, and the window opens and types sin(x)²+cos(x)²=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs
|
Pre-release NuGet package of 7485c8d. Updated on every push, deleted when this PR is closed. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 2/4: editor fences fix → this → formulas → units.
A second sample app, a set of math tools around
MathEditBox, on the desktop and in the browser:samples/SharpEquations.Avalonia.MathTools.Demo: the desktop window.MathToolsViewhas a page per tool and is shared with the web page.samples/SharpEquations.Avalonia.Browser.MathTools.Demo: WebAssembly. Like the web demo, it is not in the solution build.demo.ymlpublishes it undermath/of the GitHub Pages site.CalculatorKeys): a key types into the editor as the keyboard does, sosin(waits for its argument andx²squares what is before the caret. Structures (a/b, √, the sum with its limits) are inserted with their slots, around the selection if there is one.Tests
MathTools/CalculatorKeysTests: key sequences type the equation they show, every face parses, and every key types something.MathTools/MathToolsWindowTests.KeypadTypesIntoTheEditor: the window opens and typessin(x)²+cos(x)²=1.Generated by Claude Code