Compare commits

..

No commits in common. "49c768dd76d5d3a6d56b672e9543bd22c55f2819" and "5d23410f00088e00698e06004ca1f672654ff0d7" have entirely different histories.

4 changed files with 7 additions and 5 deletions

4
Cargo.lock generated
View File

@ -841,7 +841,7 @@ dependencies = [
[[package]] [[package]]
name = "ironcalc" name = "ironcalc"
version = "0.3.0" version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef" source = "git+https://github.com/ironcalc/IronCalc?rev=264fcac63cc93b08a4b4a6764815e0c0adf6a53c#7e54cb6aa27f6d02fc3b090de4fb127c67900dc8"
dependencies = [ dependencies = [
"bitcode", "bitcode",
"chrono", "chrono",
@ -857,7 +857,7 @@ dependencies = [
[[package]] [[package]]
name = "ironcalc_base" name = "ironcalc_base"
version = "0.3.0" version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef" source = "git+https://github.com/ironcalc/IronCalc?rev=264fcac63cc93b08a4b4a6764815e0c0adf6a53c#7e54cb6aa27f6d02fc3b090de4fb127c67900dc8"
dependencies = [ dependencies = [
"bitcode", "bitcode",
"chrono", "chrono",

View File

@ -11,13 +11,13 @@ clap = { version = "4.5.20", features = ["derive"] }
crossterm = { version = "0.28.1", features = ["event-stream", "serde"] } crossterm = { version = "0.28.1", features = ["event-stream", "serde"] }
csvx = "0.1.17" csvx = "0.1.17"
# this revision introduces a way to get the Model back out of the UserModel # this revision introduces a way to get the Model back out of the UserModel
ironcalc = { git = "https://github.com/ironcalc/IronCalc" } ironcalc = { git = "https://github.com/ironcalc/IronCalc?rev=264fcac63cc93b08a4b4a6764815e0c0adf6a53c" }
futures = "0.3.31" futures = "0.3.31"
ratatui = "0.29.0" ratatui = "0.29.0"
thiserror = "1.0.65" thiserror = "1.0.65"
tui-textarea = "0.7.0" tui-textarea = "0.7.0"
tui-prompts = "0.5.0" tui-prompts = "0.5.0"
slice-utils = { git = "https://dev.zaphar.net/zaphar/slice-cursor-rs.git" } slice-utils = { git = "https://dev.zaphar.net/zaphar/slice-cursor-rs.git", ref = "main" }
tui-popup = "0.6.0" tui-popup = "0.6.0"
serde_json = "1.0.133" serde_json = "1.0.133"
colorsys = "0.6.7" colorsys = "0.6.7"

1
result
View File

@ -1 +0,0 @@
/nix/store/k826wsv9zc73jamdff1yl1rky2bw9lc6-sheetui-0.1.0

View File

@ -190,6 +190,9 @@ impl Book {
.iter() .iter()
.skip(1) .skip(1)
{ {
// TODO(jeremy): Is there a better way to do this using UserModel?
// Looks like this is the recommended way:
// https://docs.rs/ironcalc_base/latest/ironcalc_base/struct.UserModel.html#method.auto_fill_columns
let contents = self let contents = self
.model .model
.get_model() .get_model()