Darren Burns
3f463cb0ef
Store strings as strings
2023-02-01 14:54:33 +00:00
Darren Burns
a7383e6a83
Import and export datatable utilities from public module
2023-02-01 14:51:05 +00:00
Darren Burns
67d79e16da
Simplify _get_offsets to return header row key
2023-02-01 14:10:01 +00:00
Darren Burns
53685ee2b5
Docstring update in DataTable
2023-02-01 13:59:44 +00:00
Darren Burns
c9629b1755
Ensure keys are included in emitted events from DataTable
2023-02-01 13:53:48 +00:00
Darren Burns
bf42ac94f7
Ensure row_key is included in RowHighlighted event
2023-02-01 11:34:39 +00:00
Darren Burns
cc3d744168
Add row_key to RowHighlighted event in DataTable
2023-02-01 11:15:31 +00:00
Darren Burns
07e964d2ba
More docstrings for the DataTable, new private property refactor for total_row_height
2023-02-01 11:14:08 +00:00
Darren Burns
655b2b3ea7
Docstring updates
2023-02-01 10:57:03 +00:00
Darren Burns
0b2b7a9646
Docstring improvements
2023-01-31 16:43:33 +00:00
Darren Burns
25abe4dbdf
Expose ordered rows and ordered columns publically
2023-01-31 15:30:23 +00:00
Darren Burns
f97cdd6797
Remove redundant attribute. Add more DataTable docstrings.
2023-01-31 15:18:33 +00:00
Darren Burns
e02ef1e22c
Update watcher/validator names in DataTable
2023-01-31 13:42:53 +00:00
Darren Burns
0ad26c3361
Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys
2023-01-31 13:37:41 +00:00
Darren Burns
abd35436fb
Some refactoring, and add cell_key to DataTable.CellSelected
2023-01-31 13:34:13 +00:00
Darren Burns
48488e7402
Add cell_key to CellHighlighted event
2023-01-31 13:29:18 +00:00
Darren Burns
8f928f4b76
Import optimising
2023-01-31 13:05:02 +00:00
Darren Burns
206ad761d1
Merge branch 'datatable-cell-keys' of github.com:Textualize/textual into datatable-cell-keys
2023-01-31 13:03:51 +00:00
Darren Burns
95b52eef0d
Refresh column widths on idle
2023-01-31 13:03:36 +00:00
Dave Pearson
f1f3e20148
Merge pull request #1694 from davep/input-wordless-passwords
...
When in password mode have word-oriented actions act on whole input
2023-01-31 11:20:57 +00:00
Dave Pearson
8bfe4e8170
Fix unintentional indent
2023-01-31 10:36:07 +00:00
darrenburns
3aeadf2d37
Merge branch 'main' into datatable-cell-keys
2023-01-31 10:32:53 +00:00
Will McGugan
dc1c4dad0e
Merge pull request #1698 from Textualize/fix-paste
...
Fix paste and test
2023-01-31 11:27:58 +01:00
Will McGugan
2ec01916d0
unused import
2023-01-31 11:16:48 +01:00
Will McGugan
6e7fd08890
change log [skip ci]
2023-01-31 11:14:23 +01:00
Will McGugan
dc02b22d7c
Fix paste and test
2023-01-31 11:12:47 +01:00
Dave Pearson
928a289c0e
Add extra unit tests for password field deletion
...
Here we're just testing the exceptional situations.
2023-01-30 20:38:19 +00:00
Dave Pearson
5fc16c6af0
Add extra unit tests for password field movement
...
Here we're just testing the exceptional situations.
2023-01-30 20:34:22 +00:00
Will McGugan
62cede54ef
docstring update
2023-01-30 19:24:16 +01:00
Will McGugan
891e8d95a1
Merge pull request #1695 from Textualize/rodrigogiraoserrao-patch-1
...
Update test_animation.py
2023-01-30 19:04:41 +01:00
Will McGugan
08bb55bfb3
Merge pull request #1696 from Textualize/render-widths-test
...
Restore tests
2023-01-30 19:03:56 +01:00
Will McGugan
71a0a6676f
docstring [skip ci]
2023-01-30 19:02:35 +01:00
Will McGugan
4aa988347f
add tests
2023-01-30 18:59:23 +01:00
Rodrigo Girão Serrão
1fc2c2951c
Update test_animation.py
...
Make it less likely for test to fail.
References: #1675
2023-01-30 17:24:15 +00:00
Darren Burns
bbe71faa21
Start adding column width updates on idle [no ci]
2023-01-30 16:59:34 +00:00
Dave Pearson
12cfec7be3
When in password mode have word-oriented actions act on whole input
...
The idea here is that a password field should give no hint as to what's
within, length notwithstanding. To this end have the actions that (re)move
based on word boundaries act as if a password field is always just one word.
See #1692 (and previously #1676 , prompted originally by #1310 ).
2023-01-30 16:51:45 +00:00
Darren Burns
c69b60bd41
Tracking new rows using keys instead of indices
2023-01-30 16:32:40 +00:00
Darren Burns
6382692d11
Some comment changes
2023-01-30 16:29:31 +00:00
Rodrigo Girão Serrão
aa03373a64
Merge pull request #1673 from Textualize/doc-improvements
...
Documentation improvements
2023-01-30 15:52:45 +00:00
Darren Burns
61bf8c8a5a
Merge branch 'main' of github.com:willmcgugan/textual into datatable-cell-keys
2023-01-30 15:51:51 +00:00
Darren Burns
73f6876c75
Sort method
2023-01-30 15:45:14 +00:00
Rodrigo Girão Serrão
ca6763d4a3
Merge branch 'main' into doc-improvements
2023-01-30 15:35:43 +00:00
Will McGugan
475cd4fb1b
Merge pull request #1644 from davep/tree-deeply
...
Add support for a method of expanding/collapsing all tree nodes from a given node down
2023-01-30 16:27:06 +01:00
Dave Pearson
89c799d02a
Merge pull request #1676 from davep/more-input-bindings
...
More input bindings
2023-01-30 15:20:09 +00:00
Will McGugan
11618e7029
Merge branch 'main' into more-input-bindings
2023-01-30 16:15:27 +01:00
Will McGugan
d5844f7949
Merge pull request #1689 from Textualize/scroll-sensitivity
...
Scroll sensitivity
2023-01-30 16:14:44 +01:00
Will McGugan
081110ff96
fix typo [skip ci]
2023-01-30 16:13:53 +01:00
Will McGugan
44b1888e61
fixed URL
2023-01-30 16:07:15 +01:00
Darren Burns
a215051eb9
Fix an incorrect type hint
2023-01-30 15:03:37 +00:00
Will McGugan
b8d15c6d61
comment
2023-01-30 16:00:57 +01:00