darrenburns
6352ceb61b
Datatable remove row ( #2253 )
...
* Checking in remove_row progress
* Ensuring structures updated correctly when row deleted
* Clamping index
* Failed attempt
* Removing rows
* Update a type hint in DataTable
* Remove some code that wasnt required
* Use index syntax instead of get
* Add DataTable remove row test
* Snapshot tests for removing rows
* Add a docstring for DataTable.remove_row method
* Update changelog regarding DataTable.remove_row
* Add check_idle call to remove_row
2023-04-11 18:48:58 +01:00
Will McGugan
13939499d9
implement single line comments ( #2248 )
2023-04-11 15:21:41 +01:00
Rodrigo Girão Serrão
48e8b510ba
Merge pull request #2255 from Textualize/scroll_to_center
...
Add scroll_to_center method.
2023-04-11 15:20:38 +01:00
Rodrigo Girão Serrão
349f414dac
Use Offset operators.
2023-04-11 14:51:59 +01:00
Rodrigo Girão Serrão
8fe9e97fd7
Restore deleted snapshot tests.
2023-04-11 14:23:45 +01:00
Rodrigo Girão Serrão
2588cfdb0d
Update snapshot test.
2023-04-11 13:39:24 +01:00
Rodrigo Girão Serrão
454254fab4
Implement scroll_to_center method.
2023-04-11 13:36:34 +01:00
Rodrigo Girão Serrão
e87edd79cb
Add test for scroll_to_center method.
2023-04-11 13:29:56 +01:00
Will McGugan
3c8f2ec4e9
map geometry
2023-04-10 21:57:20 +01:00
Will McGugan
af93a82fb1
fix byte example
2023-04-10 17:25:13 +01:00
Will McGugan
3d642e1c71
comments, made update_timer private
2023-04-10 17:10:04 +01:00
Will McGugan
4f7b2d00bc
fix arrangement cache ( #2249 )
...
* fix arrangement cache
* changelog
v0.19.1
2023-04-10 16:50:34 +01:00
darrenburns
40cc2db3b9
Fix for viewport units, remove DataTable max-height ( #2247 )
...
* Add viewport units snapshot test
* Fix snapshot app
* Update snapshots
* Update DataTable max-height to 100%
* Update CHANGELOG.md
* Remove max height from DataTable CSS
2023-04-10 16:13:48 +01:00
Will McGugan
b8468fff98
docstrings
2023-04-10 11:03:24 +01:00
Will McGugan
bd6ec2be48
widget API docs
2023-04-10 09:50:52 +01:00
Will McGugan
9a1e645ccd
docstring
2023-04-09 20:23:14 +01:00
Will McGugan
5f7a0beba4
docstrings
2023-04-09 20:20:38 +01:00
Will McGugan
a729ee644c
docstring and private
2023-04-09 20:13:53 +01:00
Will McGugan
02452c36bd
link actions
2023-04-09 19:04:08 +01:00
Will McGugan
aceee9ff72
docstring
2023-04-09 18:59:36 +01:00
Will McGugan
a4b0c469ba
docstrings
2023-04-09 18:39:29 +01:00
Will McGugan
c9de67f7df
docstrings, remove unused Color._rich__
2023-04-09 18:07:42 +01:00
Will McGugan
5fe69b05aa
more doc strings
2023-04-09 15:09:20 +01:00
Will McGugan
9d4fd44a3a
docstrings
2023-04-09 14:46:05 +01:00
Will McGugan
d7781d1da1
fix doc
2023-04-08 17:51:21 +01:00
Will McGugan
ab74735d14
docstring fix
2023-04-08 15:41:32 +01:00
Will McGugan
2244b1161e
api docs ( #2240 )
...
* api docs
* more docstrings
* logs
* docs shakeup
* fix notes, added intro to all apis
* Remove defaults to
* add note to events
* note
* use fira code
2023-04-08 15:35:49 +01:00
Will McGugan
5726a20e8e
docstrings
2023-04-07 21:08:08 +01:00
Will McGugan
6c958a1140
docs update ( #2239 )
...
* docs update
* class template
* no annotations in sig
2023-04-07 18:57:56 +01:00
Will McGugan
79ebbff933
typo
2023-04-07 12:58:58 +01:00
Will McGugan
074bfd7e2f
Headings
2023-04-07 11:56:00 +01:00
Will McGugan
94279ae1f9
docs fix
2023-04-07 11:35:59 +01:00
Will McGugan
c4774155ab
changelog
2023-04-07 11:30:15 +01:00
Will McGugan
e9ec627629
version bump ( #2236 )
v0.19.0
2023-04-07 09:52:21 +01:00
Will McGugan
e4b45ba63f
docs on await mount ( #2235 )
2023-04-07 09:46:27 +01:00
Will McGugan
c3424b0224
CHop fix ( #2227 )
2023-04-07 08:44:52 +01:00
darrenburns
976bd2f5c2
Move DataTable cursor with page up/down, home, end ( #2228 )
...
* Add pageup and pagedown actions to DataTable, with no impls
* Pagedown moves DataTable cursor now
* Account for header height in pagedown action
* Page Up support in the DataTable
* Fix and off-by-1, ensure page up/down works on col cursor
* Add placeholder scroll home/end action handlers to datatable
* Add scroll home and scroll end
* Hide hover cursor when home or end is used
* Ensure home and end work correctly with all curosrs
* Testing home/end/pagedown/pageup cursor movement in DataTable
* Docstrings for new datatable actions
* Fix a broken unit test for the DataTable
2023-04-06 21:22:31 +01:00
Will McGugan
c3e56f1f19
changelog
2023-04-06 21:18:59 +01:00
Will McGugan
4e88bb9b62
flush on exit ( #2231 )
2023-04-06 21:17:34 +01:00
Will McGugan
2969abf241
optimize horizontal and vertical ( #2234 )
...
* optimize horizontal and vertical
* generator to list expressions
* micro op
* another micro-optimization
2023-04-06 21:05:51 +01:00
Will McGugan
44367a7422
Expanding fr ( #2221 )
...
* forced fr to expand
* margin size
* remove comment
* missing snapshot
* snapshot tests
* changelog
* optimize
* snapshot fix
* snapshot update
* snapshot and fixes
* docstrings [skip ci]
2023-04-06 17:30:32 +01:00
Jackomatrus
c76667be5f
Fixed a wrong reference ( #2226 )
...
The new line referred to in line 177 was added to the StopwatchApp class, not the Stopwatch class.
2023-04-06 11:14:30 +01:00
Will McGugan
5c514b0dab
scroll visible snapshot ( #2225 )
...
* scroll visible snapshot
* change text of test
2023-04-06 11:13:09 +01:00
Will McGugan
eadd487584
fix scroll issue
2023-04-06 10:29:50 +01:00
Dave Pearson
a7c0a792cf
Merge pull request #2215 from davep/dirtree-filter
2023-04-05 21:47:56 +01:00
Dave Pearson
688b87b6d1
Update the CHANGELOG
2023-04-05 20:50:16 +01:00
Dave Pearson
7477624507
Merge branch 'main' into dirtree-filter
2023-04-05 20:48:36 +01:00
Dave Pearson
23263c45f1
Document the filtering support of DirectoryTree
2023-04-05 20:47:35 +01:00
Dave Pearson
5c2c5d50b6
Remove hangover argument documentation from initial experiment
2023-04-05 10:13:58 +01:00
Dave Pearson
5f31ecc607
Wee tidy of some docstrings in _markdown.py ( #2217 )
2023-04-05 10:11:41 +01:00