Resume native editor jobs through verified checkpoints

This commit is contained in:
gloamxun committed 2026-11-19 09:35:33 +08:00
1 parent 31364ae33e
commit 0abf700817
19 files changed
+2311 -93

No files matched your search

@@ -23,10 +23,12 @@ struct Template {
prefix: Vec<Token>,
suffix: Vec<Token>,
}
#[derive(Clone)]
struct Cell {
last: usize,
node: NativeBox,
}
#[derive(Clone)]
pub(super) struct AlignmentFrame {
horizontal: bool,
span: Span,
@@ -9,6 +9,7 @@ pub(super) enum Destination {
Adjustment { pre: bool },
Insertion { class: u8 },
}
#[derive(Clone)]
pub(super) struct BoxFrame {
kind: BoxKind,
spec: PackSpec,
@@ -23,6 +24,7 @@ pub(super) struct BoxFrame {
// An inner $...$ belongs to this box, even inside an outer display.
display: Option<super::display::DisplayFrame>,
}
#[derive(Clone)]
struct DiscretionaryFrame {
parts: Vec<Vec<TextNode>>,
font: FontId,
@@ -13,6 +13,7 @@ pub(super) struct EquationNumber {
pub(super) box_: NativeBox,
}
#[derive(Clone)]
pub(super) struct DisplayFrame {
previous_lines: usize,
pub(super) number_side: Option<EquationSide>,
@@ -1,6 +1,7 @@
use super::super::boxes::{self, PackSpec, VerticalBuilder};
use super::*;
#[derive(Clone)]
pub(super) struct OutputFrame {
depth: usize,
paragraph: Option<super::super::paragraph::Builder>,
@@ -16,6 +16,7 @@ struct Segment {
transformed: bool,
}
#[derive(Clone)]
pub(super) struct ActiveLink {
layout: LinkStart,
attributes: String,