Repository navigation
Editor: what is typed between bars builds up - #38
Open
simonebortolin wants to merge 5 commits into
Open
simonebortolin wants to merge 5 commits into
simonebortolin wants to merge 5 commits into
Conversation
A run between a pair of fences was read with the opening fence before it, and an opening bar alone does not parse (|x): what was typed in the |x| and ‖x‖ of the fence buttons never built up, and stayed an merror. The run is now read after the opening fence (BuildUp.OperandStart), when the typing builds up and in BuildUpAll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs
…ces after a comma (#37) Four equations that read from UnicodeMath and were written as text that read back to another equation: - a script of a matrix in brackets: ⒨(𝑎&𝑏@𝑐&𝑑)² read the ² apart from the matrix (and ^−1 did not parse); the matrix is grouped, 〖⒨(…)〗², as the other bases that a script would not apply to whole - a function in a denominator: 𝑎/ sin𝛼 read as a slash, the space after the bar ending the fraction; the space is not written, 𝑎/sin𝛼 - a denominator that ends with a script before an operand: 1/4𝜋𝜀₀ 𝑞₁𝑞₂/𝑟² took 𝑞₁𝑞₂/𝑟² into the denominator, the space ending the script and not the denominator; it is in parentheses, 1/(4𝜋𝜀₀) (but not after superscript digits, 𝜕²/𝜕𝑥² 𝜓, which a space ends, nor before an operator) - ", " (a comma and two spaces, a space of ½ em after the comma in the grammar) was read as an empty <mo/>, which nothing writes: it is the space of that width, U+2002, as ", " reads Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs Co-authored-by: Claude <noreply@anthropic.com>
…emoji bitmaps) has the line's box The layout read the ink box of a glyph from the outlines of its font; a font with bitmaps alone (Noto Color Emoji as CBDT, the one of the Linux runners) has none, so an emoji was 0 high and the corpus test failed there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs
|
Pre-release NuGet package of aa17119. 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 1/4, on #33: this → math tools keypad → formulas → units.
Typed between the bars of the
|x|or‖x‖buttons (InsertFences("|", "|")), nothing ever built up: the run was read with the opening fence before it, and|xalone does not parse, so it stayed anmerror. With(it worked only because(xhappens to parse.BuildUp.OperandStart(internal): in a row that is a pair of fences, a run between them builds up with the nodes after the opening fence. This applies both while typing (TryBuildUpAtCaret) and inBuildUpAll. A row with the same fence again among its direct children (|a|b|) is left as it was.Tests
Editing/CommandTests.TypedBetweenFencesBuildsUp:|‖([⌊, typed then built up.|and‖failed before.tests/SharpEquations.Avalonia.Testsall pass, including the corpus thresholds ofCorpusTestsandRepositoryCorporaTests.Generated by Claude Code