pub(crate) unsafe fn synctex_horizontal_rule_or_glue(p: usize, mut _this_box: usize) {
    match TxtNode::from(p) {
        TxtNode::Rule(r) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(r.ptr(), RULE_NODE_SIZE)
                || 0 >= *SYNCTEX_line(r.ptr(), RULE_NODE_SIZE)
            {
                return;
            }
        }
        TxtNode::Glue(g) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(g.ptr(), MEDIUM_NODE_SIZE)
                || 0 >= *SYNCTEX_line(g.ptr(), MEDIUM_NODE_SIZE)
            {
                return;
            }
        }
        TxtNode::Kern(k) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(k.ptr(), MEDIUM_NODE_SIZE)
                || 0 >= *SYNCTEX_line(k.ptr(), MEDIUM_NODE_SIZE)
            {
                return;
            }
        }
        _ => {
            ttstub_issue_error(&format!(
                "unknown node type {} in SyncTeX",
                MEM[p].b16.s1 as i32
            )); /*  always record synchronously: maybe some text is outside the box  */
        }
    } /*  always record synchronously: maybe some text is outside the box  */
    synctex_ctxt.node = p; /*  always record synchronously: maybe some text is outside the box  */
    synctex_ctxt.curh = cur_h + S_72_27;
    synctex_ctxt.curv = cur_v + S_72_27;
    synctex_ctxt.recorder = None;
    match TxtNode::from(p) {
        TxtNode::Rule(r) => {
            synctex_ctxt.tag = *SYNCTEX_tag(r.ptr(), RULE_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(r.ptr(), RULE_NODE_SIZE);
            synctex_record_node_rule(r.ptr());
        }
        TxtNode::Glue(g) => {
            synctex_ctxt.tag = *SYNCTEX_tag(g.ptr(), MEDIUM_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(g.ptr(), MEDIUM_NODE_SIZE);
            synctex_record_node_glue(g.ptr());
        }
        TxtNode::Kern(k) => {
            synctex_ctxt.tag = *SYNCTEX_tag(k.ptr(), MEDIUM_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(k.ptr(), MEDIUM_NODE_SIZE);
            synctex_record_node_kern(k.ptr());
        }
        _ => {
            ttstub_issue_error(&format!(
                "unknown node type {} in SyncTeX",
                MEM[p].b16.s1 as i32
            ));
        }
    };
}
/*  this message is sent whenever an horizontal glue node or rule node ships out
See: move_past:...    */
this message is sent whenever an horizontal glue node or rule node ships out
See: move_past.
this message is sent whenever an horizontal glue node or rule node ships out See : move_past .
pub(crate) unsafe fn synctex_horizontal_rule_or_glue(p: usize, mut _this_box: usize) {
    match TxtNode::from(p) {
        TxtNode::Rule(r) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(r.ptr(), RULE_NODE_SIZE)
                || 0 >= *SYNCTEX_line(r.ptr(), RULE_NODE_SIZE)
            {
                return;
            }
        }
        TxtNode::Glue(g) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(g.ptr(), MEDIUM_NODE_SIZE)
                || 0 >= *SYNCTEX_line(g.ptr(), MEDIUM_NODE_SIZE)
            {
                return;
            }
        }
        TxtNode::Kern(k) => {
            if synctex_ctxt.flags.contains(Flags::OFF)
                || get_int_par(IntPar::synctex) == 0
                || 0 >= *SYNCTEX_tag(k.ptr(), MEDIUM_NODE_SIZE)
                || 0 >= *SYNCTEX_line(k.ptr(), MEDIUM_NODE_SIZE)
            {
                return;
            }
        }
        _ => {
            ttstub_issue_error(&format!(
                "unknown node type {} in SyncTeX",
                MEM[p].b16.s1 as i32
            )); /*  always record synchronously: maybe some text is outside the box  */
        }
    } /*  always record synchronously: maybe some text is outside the box  */
    synctex_ctxt.node = p; /*  always record synchronously: maybe some text is outside the box  */
    synctex_ctxt.curh = cur_h + S_72_27;
    synctex_ctxt.curv = cur_v + S_72_27;
    synctex_ctxt.recorder = None;
    match TxtNode::from(p) {
        TxtNode::Rule(r) => {
            synctex_ctxt.tag = *SYNCTEX_tag(r.ptr(), RULE_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(r.ptr(), RULE_NODE_SIZE);
            synctex_record_node_rule(r.ptr());
        }
        TxtNode::Glue(g) => {
            synctex_ctxt.tag = *SYNCTEX_tag(g.ptr(), MEDIUM_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(g.ptr(), MEDIUM_NODE_SIZE);
            synctex_record_node_glue(g.ptr());
        }
        TxtNode::Kern(k) => {
            synctex_ctxt.tag = *SYNCTEX_tag(k.ptr(), MEDIUM_NODE_SIZE);
            synctex_ctxt.line = *SYNCTEX_line(k.ptr(), MEDIUM_NODE_SIZE);
            synctex_record_node_kern(k.ptr());
        }
        _ => {
            ttstub_issue_error(&format!(
                "unknown node type {} in SyncTeX",
                MEM[p].b16.s1 as i32
            ));
        }
    };
}
pub ( crate ) unsafe fn synctex_horizontal_rule_or_glue ( p : usize , mut _this_box : usize ) { match TxtNode :: from ( p ) { TxtNode :: Rule ( r ) => { if synctex_ctxt . flags . contains ( Flags :: OFF ) || get_int_par ( IntPar :: synctex ) == 0 || 0 >= * SYNCTEX_tag ( r . ptr ( ) , RULE_NODE_SIZE ) || 0 >= * SYNCTEX_line ( r . ptr ( ) , RULE_NODE_SIZE ) { return ; } } TxtNode :: Glue ( g ) => { if synctex_ctxt . flags . contains ( Flags :: OFF ) || get_int_par ( IntPar :: synctex ) == 0 || 0 >= * SYNCTEX_tag ( g . ptr ( ) , MEDIUM_NODE_SIZE ) || 0 >= * SYNCTEX_line ( g . ptr ( ) , MEDIUM_NODE_SIZE ) { return ; } } TxtNode :: Kern ( k ) => { if synctex_ctxt . flags . contains ( Flags :: OFF ) || get_int_par ( IntPar :: synctex ) == 0 || 0 >= * SYNCTEX_tag ( k . ptr ( ) , MEDIUM_NODE_SIZE ) || 0 >= * SYNCTEX_line ( k . ptr ( ) , MEDIUM_NODE_SIZE ) { return ; } } _ => { ttstub_issue_error ( & format ! ( " " MEM [ p ] b16 s1 as i32 ) ) ; /*  always record synchronously: maybe some text is outside the box  */ } } /*  always record synchronously: maybe some text is outside the box  */ synctex_ctxt . node = p ; /*  always record synchronously: maybe some text is outside the box  */ synctex_ctxt . curh = cur_h + S_72_27 ; synctex_ctxt . curv = cur_v + S_72_27 ; synctex_ctxt . recorder = None ; match TxtNode :: from ( p ) { TxtNode :: Rule ( r ) => { synctex_ctxt . tag = * SYNCTEX_tag ( r . ptr ( ) , RULE_NODE_SIZE ) ; synctex_ctxt . line = * SYNCTEX_line ( r . ptr ( ) , RULE_NODE_SIZE ) ; synctex_record_node_rule ( r . ptr ( ) ) ; } TxtNode :: Glue ( g ) => { synctex_ctxt . tag = * SYNCTEX_tag ( g . ptr ( ) , MEDIUM_NODE_SIZE ) ; synctex_ctxt . line = * SYNCTEX_line ( g . ptr ( ) , MEDIUM_NODE_SIZE ) ; synctex_record_node_glue ( g . ptr ( ) ) ; } TxtNode :: Kern ( k ) => { synctex_ctxt . tag = * SYNCTEX_tag ( k . ptr ( ) , MEDIUM_NODE_SIZE ) ; synctex_ctxt . line = * SYNCTEX_line ( k . ptr ( ) , MEDIUM_NODE_SIZE ) ; synctex_record_node_kern ( k . ptr ( ) ) ; } _ => { ttstub_issue_error ( & format ! ( " " MEM [ p ] b16 s1 as i32 ) ) ; } } ; }
this message is sent whenever an horizontal glue node or rule node ships out
See: move_past:...
this message is sent whenever an horizontal glue node or rule node ships out See : move_past : ...
p
usize
_this_box
usize