Commit 8e3547a36182c65051fd7c2a70bdd9db840f9397. 16 commits folded. Every fact here was folded from the chain's per-commit deltas.
Declared RFCs at this point: none declared.
CoordinateNav (crates/lattice-core/src/coordinate_ext.rs) — -------------------------------------------------------------------------------------------------------- [UPSTREAM] Navigation trait: move forward/backward in a specific dimension.Dimension (crates/lattice-core/src/coordinate_ext.rs) — -------------------------------------------------------------------------------------------------------- Dimension enum for editor navigation.Dimension::from_index (crates/lattice-core/src/coordinate_ext.rs) — Convert 1-9 key index to dimension.delimiter (crates/lattice-core/src/coordinate_ext.rs) — The delimiter byte for this dimension.name (crates/lattice-core/src/coordinate_ext.rs) — Function name takes no inputs beyond the value it is called on, and gives back &'static str.Position (crates/lattice-core/src/cursor.rs) — Position within a scroll's text.Position::new (crates/lattice-core/src/cursor.rs) — Function Position::new takes line: usize, col: usize and gives back Position.ScrollCursor (crates/lattice-core/src/cursor.rs) — The cursor state within a scroll.ScrollCursor::new (crates/lattice-core/src/cursor.rs) — New cursor at the origin (0,0).Selection (crates/lattice-core/src/cursor.rs) — A selection range within a scroll.Selection::cursor (crates/lattice-core/src/cursor.rs) — A zero-width selection (cursor) at a position.at (crates/lattice-core/src/cursor.rs) — New cursor at a specific position.end (crates/lattice-core/src/cursor.rs) — The end of the selection (later position).from_offset (crates/lattice-core/src/cursor.rs) — Convert a byte offset in text to a Position.is_cursor (crates/lattice-core/src/cursor.rs) — Whether this is a zero-width selection (just a cursor).move_bottom (crates/lattice-core/src/cursor.rs) — Move to end of text.move_down (crates/lattice-core/src/cursor.rs) — Move cursor down by n lines, preserving column.move_end (crates/lattice-core/src/cursor.rs) — Move to end of current line.move_home (crates/lattice-core/src/cursor.rs) — Move to beginning of current line.move_left (crates/lattice-core/src/cursor.rs) — Move cursor left by n characters within text.move_right (crates/lattice-core/src/cursor.rs) — Move cursor right by n characters within text.move_to (crates/lattice-core/src/cursor.rs) — Move cursor to a position, collapsing any selection.move_top (crates/lattice-core/src/cursor.rs) — Move to start of text.move_up (crates/lattice-core/src/cursor.rs) — Move cursor up by n lines, preserving column.move_word_backward (crates/lattice-core/src/cursor.rs) — Move to the previous word boundary.move_word_forward (crates/lattice-core/src/cursor.rs) — Move to the next word boundary.origin (crates/lattice-core/src/cursor.rs) — Function origin takes no inputs beyond the value it is called on, and gives back Position.position (crates/lattice-core/src/cursor.rs) — Current cursor position (selection head).select_to (crates/lattice-core/src/cursor.rs) — Extend selection to a position (keep anchor, move head).start (crates/lattice-core/src/cursor.rs) — The start of the selection (earlier position).to_offset (crates/lattice-core/src/cursor.rs) — Convert this Position to a byte offset in text.<'a> EditContext<'a>::new (crates/lattice-core/src/editor.rs) — Function <'a> EditContext<'a>::new takes coordinate: Coordinate, text: &'a mut String, cursor: &'a mut ScrollCursor, undCursorStyle (crates/lattice-core/src/editor.rs) — Cursor rendering style.EditContext (crates/lattice-core/src/editor.rs) — The editing context passed to modes.EditKey (crates/lattice-core/src/editor.rs) — A key event abstraction (decoupled from any TUI/GUI framework).EditKey::char (crates/lattice-core/src/editor.rs) — Function EditKey::char takes c: char and gives back EditKey.EditKeyCode (crates/lattice-core/src/editor.rs) — A named choice named EditKeyCode.EditResult (crates/lattice-core/src/editor.rs) — What happened after processing a key.EditorMode (crates/lattice-core/src/editor.rs) — The trait that all editor modes implement.ctrl (crates/lattice-core/src/editor.rs) — Function ctrl takes c: char and gives back EditKey.delete_backward (crates/lattice-core/src/editor.rs) — Delete n characters before the cursor (backspace).delete_forward (crates/lattice-core/src/editor.rs) — Delete n characters at the cursor position (delete key).delete_line (crates/lattice-core/src/editor.rs) — Delete the current line.insert (crates/lattice-core/src/editor.rs) — Insert text at the cursor position.insert_newline (crates/lattice-core/src/editor.rs) — Insert a newline at the cursor position.redo (crates/lattice-core/src/editor.rs) — Redo the next edit.replace_selection (crates/lattice-core/src/editor.rs) — Replace the selected text with new text.special (crates/lattice-core/src/editor.rs) — Function special takes code: EditKeyCode and gives back EditKey.undo (crates/lattice-core/src/editor.rs) — Undo the last edit.LatticeIndex (crates/lattice-core/src/index.rs) — The lattice index: maps every populated coordinate to its byte span.LatticeIndex::build (crates/lattice-core/src/index.rs) — Build an index by scanning the raw phext bytes once.ScrollSpan (crates/lattice-core/src/index.rs) — A scroll's location within the raw phext byte buffer.ScrollSpan::len (crates/lattice-core/src/index.rs) — Function ScrollSpan::len takes no inputs beyond the value it is called on, and gives back usize.buffer_len (crates/lattice-core/src/index.rs) — Total buffer size.contains (crates/lattice-core/src/index.rs) — Check if a coordinate has content.coordinates (crates/lattice-core/src/index.rs) — Iterator over all populated coordinates in document order.coordinates_matching (crates/lattice-core/src/index.rs) — Find all populated coordinates that match in a given dimension range.dimension_extent (crates/lattice-core/src/index.rs) — Get the density of a dimension — how many distinct values exist for a given dimension across all populated coordinates.get (crates/lattice-core/src/index.rs) — Look up the byte span for a coordinate.is_empty (crates/lattice-core/src/index.rs) — Function is_empty takes no inputs beyond the value it is called on, and gives back bool.next_populated (crates/lattice-core/src/index.rs) — Find the next populated coordinate after coord in document order.prev_populated (crates/lattice-core/src/index.rs) — Find the previous populated coordinate before coord in document order.scroll_count (crates/lattice-core/src/index.rs) — Number of populated scrolls.coordinate_ext::{Dimension, CoordinateNav} (crates/lattice-core/src/lib.rs) — A re-export: coordinate_ext::{Dimension, CoordinateNav} is made reachable through this module, so other code can use itcursor::{ScrollCursor, Position, Selection} (crates/lattice-core/src/lib.rs) — A re-export: cursor::{ScrollCursor, Position, Selection} is made reachable through this module, so other code can use iteditor::{EditorMode, EditContext, EditKey, EditKeyCode, EditResult, CursorStyle} (crates/lattice-core/src/lib.rs) — A re-export: editor::{EditorMode, EditContext, EditKey, EditKeyCode, EditResult, CursorStyle} is made reachable throughindex::{LatticeIndex, ScrollSpan} (crates/lattice-core/src/lib.rs) — A re-export: index::{LatticeIndex, ScrollSpan} is made reachable through this module, so other code can use it from heremmap::MappedLattice (crates/lattice-core/src/lib.rs) — A re-export: mmap::MappedLattice is made reachable through this module, so other code can use it from here.modes::VimMode (crates/lattice-core/src/lib.rs) — A re-export: modes::VimMode is made reachable through this module, so other code can use it from here.navigator::Navigator (crates/lattice-core/src/lib.rs) — A re-export: navigator::Navigator is made reachable through this module, so other code can use it from here.search::{search_lattice, search_lattice_parallel, search_lattice_auto, search_coordinates, SearchHit} (crates/lattice-core/src/lib.rs) — A re-export: search::{search_lattice, search_lattice_parallel, search_lattice_auto, search_coordinates, SearchHit} is masentron::{Sentron, Neuron, Axon, AxisGroup, SENTRON_CAPACITY} (crates/lattice-core/src/lib.rs) — A re-export: sentron::{Sentron, Neuron, Axon, AxisGroup, SENTRON_CAPACITY} is made reachable through this module, so othstats::{ScrollStats, DimensionDensity, LatticeOverview, Neighborhood} (crates/lattice-core/src/lib.rs) — A re-export: stats::{ScrollStats, DimensionDensity, LatticeOverview, Neighborhood} is made reachable through this moduleundo::{UndoEngine, EditOp, UndoRecord} (crates/lattice-core/src/lib.rs) — A re-export: undo::{UndoEngine, EditOp, UndoRecord} is made reachable through this module, so other code can use it fromMappedLattice (crates/lattice-core/src/mmap.rs) — A memory-mapped phext document with copy-on-write editing.MappedLattice::open (crates/lattice-core/src/mmap.rs) — Open a phext file and build the lattice index.delete_scroll (crates/lattice-core/src/mmap.rs) — Delete a scroll at the given coordinate.from_bytes (crates/lattice-core/src/mmap.rs) — Create a MappedLattice from raw bytes (for testing or in-memory use).has_scroll (crates/lattice-core/src/mmap.rs) — Check if a coordinate has content (considering overlay).index (crates/lattice-core/src/mmap.rs) — Access the underlying index for navigation queries.is_dirty (crates/lattice-core/src/mmap.rs) — Check if there are unsaved modifications.path (crates/lattice-core/src/mmap.rs) — Get the file path.pending_changes (crates/lattice-core/src/mmap.rs) — Number of modified/inserted/deleted scrolls.populated_coordinates (crates/lattice-core/src/mmap.rs) — Get all populated coordinates, including overlay insertions, excluding overlay deletions.raw_buffer (crates/lattice-core/src/mmap.rs) — Access the raw mmap buffer for search operations.read_scroll (crates/lattice-core/src/mmap.rs) — Read the content of a scroll at the given coordinate.revert (crates/lattice-core/src/mmap.rs) — Discard all unsaved changes, reverting to the mmap state.save (crates/lattice-core/src/mmap.rs) — Save to the backing file.save_as (crates/lattice-core/src/mmap.rs) — Save to a specific path.scroll_count (crates/lattice-core/src/mmap.rs) — Number of populated scrolls (considering overlay).to_phext_bytes (crates/lattice-core/src/mmap.rs) — Reconstruct the full phext as bytes from mmap + overlay.write_scroll (crates/lattice-core/src/mmap.rs) — Write content to a scroll at the given coordinate.vim::VimMode (crates/lattice-core/src/modes/mod.rs) — A re-export: vim::VimMode is made reachable through this module, so other code can use it from here.VimMode (crates/lattice-core/src/modes/vim.rs) — Vim-style editor mode with Normal/Insert/Visual/Command sub-modes.VimMode::new (crates/lattice-core/src/modes/vim.rs) — Function VimMode::new takes no inputs beyond the value it is called on, and gives back VimMode.Navigator (crates/lattice-core/src/navigator.rs) — The navigator state for one cursor in the lattice.Navigator::new (crates/lattice-core/src/navigator.rs) — Function Navigator::new takes no inputs beyond the value it is called on, and gives back Navigator.Navigator::summarize (crates/lattice-core/src/navigator.rs) — Build a summary of the current neighborhood for UI rendering.NeighborhoodSummary (crates/lattice-core/src/navigator.rs) — Summary of the lattice neighborhood around a coordinate, for rendering the coordinate bar and lattice navigator panel.active_dimension (crates/lattice-core/src/navigator.rs) — Currently selected dimension.at (crates/lattice-core/src/navigator.rs) — Create a navigator starting at a specific coordinate.dimension_neighbors (crates/lattice-core/src/navigator.rs) — Get neighbors in the active dimension: (prev_value, current_value, next_value).goto (crates/lattice-core/src/navigator.rs) — Jump directly to a coordinate.history_back (crates/lattice-core/src/navigator.rs) — Navigate back in history.history_forward (crates/lattice-core/src/navigator.rs) — Navigate forward in history.jump_to_mark (crates/lattice-core/src/navigator.rs) — Jump to the most recent mark (and remove it).move_backward (crates/lattice-core/src/navigator.rs) — Move backward in the active dimension (resets lower dims).move_forward (crates/lattice-core/src/navigator.rs) — Move forward in the active dimension (resets lower dims).next_populated (crates/lattice-core/src/navigator.rs) — Jump to the next populated coordinate (any dimension).position (crates/lattice-core/src/navigator.rs) — Current position in the lattice.prev_populated (crates/lattice-core/src/navigator.rs) — Jump to the previous populated coordinate (any dimension).select_dimension (crates/lattice-core/src/navigator.rs) — Select a dimension by index (1-9).set_mark (crates/lattice-core/src/navigator.rs) — Set a mark at the current position.SearchHit (crates/lattice-core/src/search.rs) — A search hit: coordinate + context around the match.build_index_parallel (crates/lattice-core/src/search.rs) — Parallel index build — partition the buffer into chunks, scan each for delimiter boundaries, then merge.search_coordinates (crates/lattice-core/src/search.rs) — Search for coordinates matching a coordinate pattern string.search_lattice (crates/lattice-core/src/search.rs) — Search the lattice for a text pattern (single-threaded).search_lattice_auto (crates/lattice-core/src/search.rs) — Auto-selecting search: picks serial or parallel based on data characteristics.search_lattice_parallel (crates/lattice-core/src/search.rs) — Search the lattice for a text pattern across all available cores.AxisGroup (crates/lattice-core/src/sentron.rs) — The two fundamental axis groups in the sentron topology.AxisGroup::name (crates/lattice-core/src/sentron.rs) — Function AxisGroup::name takes no inputs beyond the value it is called on, and gives back &'static str.Axon (crates/lattice-core/src/sentron.rs) — One connection axis: a dimension with backward/forward reach.Axon::total (crates/lattice-core/src/sentron.rs) — Total reachable coordinates along this axis.CONNECTIONS_PER_NEURON (crates/lattice-core/src/sentron.rs) — The number of connections per neuron.Neuron (crates/lattice-core/src/sentron.rs) — A neuron in the sentron: a populated coordinate with its 8 axons.SENTRON_CAPACITY (crates/lattice-core/src/sentron.rs) — The maximum number of neurons in a sentron.Sentron (crates/lattice-core/src/sentron.rs) — The sentron: 40 nearest populated coordinates to the cursor, with full 8-way connectivity analysis.Sentron::build (crates/lattice-core/src/sentron.rs) — Build a sentron centered on a coordinate.dimensions (crates/lattice-core/src/sentron.rs) — The 4 dimensions in this axis group.sequential_axons (crates/lattice-core/src/sentron.rs) — The sequential (temporal) axons: Volume, Book, Chapter, Section.size (crates/lattice-core/src/sentron.rs) — How many neurons are in this sentron.structural_axons (crates/lattice-core/src/sentron.rs) — The structural (spatial) axons: Library, Shelf, Series, Collection.topology_string (crates/lattice-core/src/sentron.rs) — Render the sentron as a compact topology string.weight (crates/lattice-core/src/sentron.rs) — Visual weight: how "thick" this connection is (0.0 to 1.0).DimensionDensity (crates/lattice-core/src/stats.rs) — Density profile for one dimension: how many populated scrolls exist at each value along that dimension.DimensionDensity::build (crates/lattice-core/src/stats.rs) — Build the density profile for one dimension across all populated coordinates.LatticeOverview (crates/lattice-core/src/stats.rs) — Global lattice overview stats.LatticeOverview::build (crates/lattice-core/src/stats.rs) — Build a complete overview of the lattice.Neighborhood (crates/lattice-core/src/stats.rs) — Neighborhood context: what's near the current coordinate.Neighborhood::build (crates/lattice-core/src/stats.rs) — Build neighborhood context for a coordinate.ScrollStats (crates/lattice-core/src/stats.rs) — Per-scroll statistics for the status bar and info panel.ScrollStats::from_bytes (crates/lattice-core/src/stats.rs) — Compute stats from raw scroll bytes.distinct_values (crates/lattice-core/src/stats.rs) — How many distinct values exist in this dimension.range (crates/lattice-core/src/stats.rs) — The range of populated values.size_display (crates/lattice-core/src/stats.rs) — Human-readable size.sparkline (crates/lattice-core/src/stats.rs) — Render a sparkline string showing relative density.EditOp (crates/lattice-core/src/undo.rs) — An edit operation that can be undone/redone.EditOp::apply (crates/lattice-core/src/undo.rs) — Apply this operation to text, returning the new text.UndoEngine (crates/lattice-core/src/undo.rs) — The undo engine: manages edit history across all scrolls.UndoEngine::new (crates/lattice-core/src/undo.rs) — Function UndoEngine::new takes no inputs beyond the value it is called on, and gives back UndoEngine.UndoRecord (crates/lattice-core/src/undo.rs) — An undo record: operation + cursor state.can_redo (crates/lattice-core/src/undo.rs) — Can we redo on this scroll?can_undo (crates/lattice-core/src/undo.rs) — Can we undo on this scroll?depth (crates/lattice-core/src/undo.rs) — Undo depth for a scroll.dirty_scrolls (crates/lattice-core/src/undo.rs) — Which scrolls have been modified.from_scroll (crates/lattice-core/src/undo.rs) — Deserialize from a phext scroll.from_work_phext (crates/lattice-core/src/undo.rs) — Load undo history from a work phext.inverse (crates/lattice-core/src/undo.rs) — Compute the inverse operation (for undo).record (crates/lattice-core/src/undo.rs) — Record an edit operation.redo (crates/lattice-core/src/undo.rs) — Redo the next edit on a scroll.to_scroll (crates/lattice-core/src/undo.rs) — Serialize to the phext scroll format.to_work_phext (crates/lattice-core/src/undo.rs) — Serialize the full undo history to a phext byte vector.total_edits (crates/lattice-core/src/undo.rs) — Total edits recorded globally.undo (crates/lattice-core/src/undo.rs) — Undo the last edit on a scroll.main (crates/lattice-tui/src/main.rs) — The entry point: the program starts here.--dir (crates/lattice-ui/src/main.rs) — A command line flag, --dir.--port (crates/lattice-ui/src/main.rs) — A command line flag, --port.--token (crates/lattice-ui/src/main.rs) — A command line flag, --token.coord-link (crates/lattice-ui/src/main.rs) — A command named coord-link.main (crates/lattice-ui/src/main.rs) — The entry point: the program starts here.saved (crates/lattice-ui/src/main.rs) — A command named saved.