We'll probably need some attribute in the box model to disable them down the road.
Ugly that I'm making related changes to foundational code and also live. Again something for the future.
NJHPKGC4MV6DDRYI4NJEE5LQBSWJBB54QV7EPSOS2ECVI7CBPOJQC
TXHMMX25XTR5BQLKHQXIT5TZBFW2KZ54XY3CCL36ZJYJWPKGKC6QC
RAEGXYHVWPWYHRMNVGFNDDK4LG4QCWPWLEV5OUIOKI7JEBSAYO7AC
ILOA5BYFTQKBSHLFMMZUVPQ2JXBFJD62ERQFBTDK2WSRXUN525VQC
BULPIBEGL7TMK6CVIE7IS7WGAHGOSUJBGJSFQK542MOWGHP2ADQQC
LRDM35CEK3OHXOTB7TEFJRL7P6PQWO5ZG3F2BVA7DIDFHBPJQ7KAC
4KC7I3E2DIKLIP7LQRKB5WFA2Z5XZXAU46RFHNFQU5BVEJPDX6UQC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
update_editor_box = function(node, preserve_screen_top_of_cursor_node)
if node.editor == nil then return end
if node.y > Viewport.y then
if not preserve_screen_top_of_cursor_node or node ~= Cursor_node then
node.editor.screen_top1.line = 1
node.editor.screen_top1.pos = 1
end
node.editor.top = vy(node.y)
else
node.editor.screen_top1, node.editor.top = schema1_of_y(node.editor, Viewport.y - node.y)
end
node.editor.left = math.floor(vx(node.x + Line_number_width))
node.editor.right = math.ceil(vx(node.x+node.w))
edit.update_font_settings(node.editor, scale(20))
Text.redraw_all(node.editor)
end
{"A":433,"Line_number_width":440,"box_height":345,"update_editor_box":441,"on.mouse_press":179,"font":353,"on.mouse_release":367,"y_of_schema1":364,"on.update":368,"Cursor_node":172,"on.keychord_press":391,"compute_layout":385,"on":1,"schema1_of_y":366,"Page":438,"on.text_input":388,"initialize_editor":338,"vy":8,"add_thick_line":400,"parent":440,"copy_shape":396,"Surface":422,"B":379,"on.code_change":306,"on.draw":418,"to_text":180,"vx":5,"line_height":365,"Viewport":439,"on.initialize":350,"scale":7}
{"A":433,"Line_number_width":440,"box_height":345,"update_editor_box":430,"on.mouse_press":179,"font":353,"on.mouse_release":367,"y_of_schema1":364,"on.update":368,"Cursor_node":172,"on.keychord_press":391,"compute_layout":385,"on":1,"schema1_of_y":366,"Page":438,"on.text_input":388,"initialize_editor":338,"vy":8,"add_thick_line":400,"parent":439,"copy_shape":396,"Surface":422,"B":379,"on.code_change":306,"on.draw":418,"to_text":180,"vx":5,"line_height":365,"Viewport":439,"on.initialize":350,"scale":7}
Line_number_width = 60