Skip to content

Rename SyntaxNode::{text, into_text} to {leaf_text, full_text} - #8393

Merged
laurmaedje merged 2 commits into
typst:mainfrom
isuffix:rename-into-text
Jun 4, 2026
Merged

laurmaedje merged 2 commits into
typst:mainfrom
isuffix:rename-into-text

Conversation

@isuffix

@isuffix isuffix commented May 31, 2026

Copy link
Copy Markdown
Collaborator

This was mentioned in #8188 (comment)

I'm just renaming for now and changing full_text to use &self instead of self. I'll leave implementing some kind of summarize method for later (or someone else).

@laurmaedje laurmaedje added waiting-on-review This PR is waiting to be reviewed. refactor A refactoring. labels Jun 4, 2026
@laurmaedje
laurmaedje added this pull request to the merge queue Jun 4, 2026
@laurmaedje laurmaedje removed the waiting-on-review This PR is waiting to be reviewed. label Jun 4, 2026
@laurmaedje

Copy link
Copy Markdown
Member

Thanks!

Merged via the queue into typst:main with commit 1e9ba17 Jun 4, 2026
9 checks passed
@isuffix
isuffix deleted the rename-into-text branch June 4, 2026 18:12
ParaN3xus added a commit to ParaN3xus/typst-ansi-hl that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/typstyle that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/typstyle that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/typst.ts that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 9, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 10, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 10, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 10, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 10, 2026
ParaN3xus added a commit to ParaN3xus/tinymist that referenced this pull request Jun 10, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin pushed a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 13, 2026
Myriad-Dreamin added a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 15, 2026
Part of the Typst 0.15 cleanup stack. This slice covers text accessor,
font metadata, color presentation, and viewer color-space API changes.

## Upstream Typst Changes

- [`typst/typst#8393`](typst/typst#8393) changes
syntax/source text access. Tinymist updates semantic tokens, analysis
matchers, lint/debug instrumentation, query helpers, and AST utilities
to use the new accessor style.
- [`typst/typst#8425`](typst/typst#8425) adds
font axis metadata. Tinymist initializes font axes and forwards them
through document metrics and symbol glyph handling.
- [`typst/typst#7629`](typst/typst#7629) changes
color presentation behavior. Tinymist updates color presentation
conversion and renderer color-space handling for the Typst 0.15 color
APIs.

## Tinymist Changes

- Updates text access in `tinymist-query`, `tinymist-analysis`,
`tinymist-debug`, `tinymist-lint`, and AST-facing helpers.
- Updates `tinymist-world` font metadata construction for the new axes
field.
- Updates document metrics and symbol glyph collection to preserve font
axis information.
- Updates `tinymist-query` color presentations for the revised Typst
color API.
- Updates viewer rendering color-space conversion so Typst 0.15 colors
are mapped correctly before rendering.

---------

Co-authored-by: paran3xus <[email protected]>
Myriad-Dreamin pushed a commit to Myriad-Dreamin/typst.ts that referenced this pull request Jun 15, 2026
Myriad-Dreamin added a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 15, 2026
Part of the Typst 0.15 cleanup stack. This slice covers text accessor,
font metadata, color presentation, and viewer color-space API changes.

## Upstream Typst Changes

- [`typst/typst#8393`](typst/typst#8393) changes
syntax/source text access. Tinymist updates semantic tokens, analysis
matchers, lint/debug instrumentation, query helpers, and AST utilities
to use the new accessor style.
- [`typst/typst#8425`](typst/typst#8425) adds
font axis metadata. Tinymist initializes font axes and forwards them
through document metrics and symbol glyph handling.
- [`typst/typst#7629`](typst/typst#7629) changes
color presentation behavior. Tinymist updates color presentation
conversion and renderer color-space handling for the Typst 0.15 color
APIs.

## Tinymist Changes

- Updates text access in `tinymist-query`, `tinymist-analysis`,
`tinymist-debug`, `tinymist-lint`, and AST-facing helpers.
- Updates `tinymist-world` font metadata construction for the new axes
field.
- Updates document metrics and symbol glyph collection to preserve font
axis information.
- Updates `tinymist-query` color presentations for the revised Typst
color API.
- Updates viewer rendering color-space conversion so Typst 0.15 colors
are mapped correctly before rendering.

---------

Co-authored-by: paran3xus <[email protected]>
Myriad-Dreamin added a commit to Myriad-Dreamin/tinymist that referenced this pull request Jun 15, 2026
Part of the Typst 0.15 cleanup stack. This slice covers text accessor,
font metadata, color presentation, and viewer color-space API changes.

## Upstream Typst Changes

- [`typst/typst#8393`](typst/typst#8393) changes
syntax/source text access. Tinymist updates semantic tokens, analysis
matchers, lint/debug instrumentation, query helpers, and AST utilities
to use the new accessor style.
- [`typst/typst#8425`](typst/typst#8425) adds
font axis metadata. Tinymist initializes font axes and forwards them
through document metrics and symbol glyph handling.
- [`typst/typst#7629`](typst/typst#7629) changes
color presentation behavior. Tinymist updates color presentation
conversion and renderer color-space handling for the Typst 0.15 color
APIs.

## Tinymist Changes

- Updates text access in `tinymist-query`, `tinymist-analysis`,
`tinymist-debug`, `tinymist-lint`, and AST-facing helpers.
- Updates `tinymist-world` font metadata construction for the new axes
field.
- Updates document metrics and symbol glyph collection to preserve font
axis information.
- Updates `tinymist-query` color presentations for the revised Typst
color API.
- Updates viewer rendering color-space conversion so Typst 0.15 colors
are mapped correctly before rendering.

---------

Co-authored-by: paran3xus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor A refactoring.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants