feat(table): complete editing workflow

This commit is contained in:
Hakan Seven committed 2026-08-25 00:25:13 +03:00
commit f40b172eb0
14 files changed
+3406 -389

No files matched your search

+12
View File
@@ -715,6 +715,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"DATAEXTRACTION {rows} rows → \"{fname}\"" => Some(("common", "dataextraction-rows-rows-fname")),
"DATAEXTRACTION: write failed: {e}" => Some(("common", "dataextraction-write-failed-e")),
"DATALINK path to the .csv file:" => Some(("view", "datalink-path-to-the-csv-file")),
"DATALINK Specify insertion point:" => Some(("view", "datalink-specify-insertion-point")),
"DATALINK: cannot read \"{path}\": {e}" => Some(("view", "datalink-cannot-read-path-e")),
"DATALINK: imported {nrows}×{ncols} cells into a table at the origin." => Some(("view", "datalink-imported-nrows-ncols-cells-into-a-tab")),
"DATALINK: the CSV file is empty." => Some(("view", "datalink-the-csv-file-is-empty")),
@@ -2555,9 +2556,19 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Sync Scales" => Some(("annotate", "sync-scales")),
"Synchronize" => Some(("insert", "synchronize")),
"System default printer" => Some(("plot", "system-default-printer")),
"TABLE CELL Enter text for [%{row},%{column}] <%{current}>:" => Some(("annotate", "table-cell-enter-text-row-column-current")),
"TABLE Enter column width [%{width}]:" => Some(("annotate", "table-enter-column-width-width")),
"TABLE Enter number of columns [%{cols}]:" => Some(("annotate", "table-enter-number-of-columns-cols")),
"TABLE Enter number of data rows [%{rows}] (%{cols} cols):" => Some(("annotate", "table-enter-number-of-data-rows-rows-cols")),
"TABLE Enter number of rows (incl. header) [%{rows}] (%{cols} cols):" => Some(("annotate", "table-enter-number-of-rows-incl-header-rows-co")),
"TABLE Enter row height [%{height}]:" => Some(("annotate", "table-enter-row-height-height")),
"TABLE Insertion behavior [Point/Window] <%{mode}>:" => Some(("annotate", "table-insertion-behavior-point-window-mode")),
"TABLE Specify insertion point [%{cols}×%{rows}]:" => Some(("annotate", "table-specify-insertion-point-cols-rows")),
"TABLE: block definition not found." => Some(("view", "table-block-definition-not-found")),
"TABLE: edit applied." => Some(("view", "table-edit-applied")),
"TABLE: field handle not found." => Some(("view", "table-field-handle-not-found")),
"TABLE: row/column is out of range or the cell is locked." => Some(("view", "table-row-column-out-of-range-or-cell-locked")),
"TABLE: select a table first." => Some(("view", "table-select-a-table-first")),
"TABLE CELL: select a Table entity first, or row/col out of range." => Some(("view", "table-cell-select-a-table-entity-first-or-row")),
"TABLE CELL: set [{row},{col}] = \"{text}\"." => Some(("view", "table-cell-set-row-col-text")),
"TABLESTYLE: '{}' already exists." => Some(("layers", "tablestyle-already-exists")),
@@ -2867,6 +2878,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Usage: SHORTCUTS LIST | SET <key> <cmd> | CLEAR <key>" => Some(("view", "usage-shortcuts-list-set-key-cmd-clear-key")),
"Usage: SHORTCUTS SET <key> <command> e.g. SHORTCUTS SET CTRL+D DIST" => Some(("view", "usage-shortcuts-set-key-command-e-g-shortcuts")),
"Usage: TABLE CELL <row> <col> <text>" => Some(("view", "usage-table-cell-row-col-text")),
"Usage: TABLE CELL | INSERTROW | DELETEROW | INSERTCOL | DELETECOL | MERGE | UNMERGE | ROWHEIGHT | COLWIDTH | LOCK | BLOCK | FORMULA | FIELD" => Some(("view", "usage-table-edit-actions")),
"Usage: TABLESTYLE NEW <name>" => Some(("layers", "usage-tablestyle-new-name")),
"Usage: TABLESTYLE [LIST|NEW <name>]" => Some(("layers", "usage-tablestyle-list-new-name")),
"Usage: TCASE <Upper|Lower|Sentence|Title>" => Some(("annotate", "usage-tcase-upper-lower-sentence-title")),