TreeSheets 2491
Add to undo before executing the evaluation (#1185)
Zaloguj
lub
Zarejestruj się
aby zobaczyć!
Add to undo before executing the evaluation (#1185)
Rename doc to document in TreeSheetsScriptImpl (#1187)
Revert "Add generation to undo stack (#1190)"
This reverts commit 91c5fc088e708efbb8d5ead317f38943ec1e3332.
Only add to undo stack if lowest common ancestor changes (#1192)
Also keep the undo items in the same generation
Provide call to get current time (#1194)
This allows for e.g. build timers in a TreeSheets file:
Example for lobster script:
```
ts.goto_selection()
var lastedit = ts.get_last_edit()
var now = ts.get_current_time()
var duration = (now - lastedit)
var hours = duration / (1000 * 60 * 60)
var hoursrest = duration % (1000 * 60 * 60)
var minutes = hoursrest / (1000 * 60)
var minutesleft = hoursrest % (1000 * 60)
var seconds = minutesleft / (1000)
ts.set_text("{hours} h {minutes} min {seconds} seconds")
Update German translation (#1199)
* Import updated template
* Update German translations
* Compile updated German translation