Commit Graph

2665 Commits

Author SHA1 Message Date
Will McGugan
28ffe6e511 remove comment 2022-10-14 18:48:27 +01:00
Dave Pearson
f5cb4cc65f Merge pull request #911 from davep/input-password-arg
Add password as a Input keyword argument - see https://github.com/Textualize/textual/discussions/905 for some context
2022-10-14 18:48:11 +01:00
Dave Pearson
acc5e72775 Add 'a' 2022-10-14 18:46:43 +01:00
Dave Pearson
72c99e69fb it's -> its 2022-10-14 18:35:18 +01:00
Dave Pearson
8c5749898f Clean up trailing whitespace 2022-10-14 18:16:30 +01:00
Will McGugan
206e89b5a6 fix focus 2022-10-14 18:13:11 +01:00
Will McGugan
c56f870390 fix focus issues 2022-10-14 18:11:08 +01:00
Dave Pearson
1354270e6c Make the final paragraph flow a wee bit better 2022-10-14 14:42:17 +01:00
Dave Pearson
7bad3c37ce place -> placed 2022-10-14 14:38:29 +01:00
Will McGugan
82ab7d9db7 wait for mount 2022-10-14 11:12:57 +01:00
Will McGugan
ef7ecc0028 Merge pull request #902 from Textualize/depth-first
depth first search
2022-10-14 09:43:32 +01:00
Dave Pearson
26dc103f6d Add password as a Input keyword argument
Via https://github.com/Textualize/textual/discussions/905 -- I feel it's
reasonable to expect the password reactive to be set via a keyword argument
of the same name -- many folk will likely come at this expecting some
similarity to how similar elements work on the web.
2022-10-14 09:27:48 +01:00
Dave Pearson
c10e172151 Markup pseudo-selector as code
Other similar items in the surrounding text use code markup, so this feels
like it should do too.
2022-10-14 09:00:52 +01:00
Dave Pearson
185a817a30 Improve the description of has_class 2022-10-14 08:56:59 +01:00
Dave Pearson
ad5fb455c1 it's -> its 2022-10-14 08:52:29 +01:00
Dave Pearson
34e5d53cb3 Correct what is imported in an example
The main code in the example creates a `Button` from a `Static`, but the
import is importing a `Widget`. This commit makes the example code make more
sense.
2022-10-14 08:48:06 +01:00
Dave Pearson
d324f1cd56 Add a missing word 2022-10-14 08:42:11 +01:00
Dave Pearson
e46c51d61c Fix whitespace
Includes pre-commit hook changes.
2022-10-14 08:41:02 +01:00
Dave Pearson
e280719816 Singular style 2022-10-13 22:14:14 +01:00
Dave Pearson
e583d21165 it's -> its 2022-10-13 22:10:46 +01:00
Dave Pearson
c37c5569d7 Add what appears to be a missing "at" 2022-10-13 22:01:16 +01:00
Dave Pearson
bfed4a6bf9 Fix the mention of an example to be singular 2022-10-13 22:00:17 +01:00
Dave Pearson
19c29bdb11 Add code markup to string constants
Elsewhere in the document colour names as strings have been marked up as
text, so this is in keeping with that.
2022-10-13 21:57:08 +01:00
Dave Pearson
279b043c81 Add missing plural 2022-10-13 21:55:49 +01:00
Dave Pearson
bd21a255ad Add missing "we" 2022-10-13 21:53:16 +01:00
Dave Pearson
8b45cd5324 Remove trailing whitespace 2022-10-13 21:49:46 +01:00
Will McGugan
14316fdbca comment 2022-10-13 21:41:22 +01:00
Dave Pearson
658a2c6017 Merge branch 'css' into css-docs-review 2022-10-13 21:38:16 +01:00
Will McGugan
9392fbfae4 imports 2022-10-13 21:04:10 +01:00
Will McGugan
de4ca1509e typing improvements 2022-10-13 21:01:04 +01:00
Will McGugan
7eb5119fe0 real breadth first, and tests 2022-10-13 20:51:03 +01:00
Will McGugan
5a8e492294 depth first search 2022-10-13 16:43:59 +01:00
Dave Pearson
31a1ebbe8f s/you/your/ 2022-10-13 16:36:30 +01:00
Dave Pearson
7182c79814 Lets to let's 2022-10-13 15:46:17 +01:00
Dave Pearson
c4a43c3f52 s/Mypy/mypy/ 2022-10-13 15:44:46 +01:00
Dave Pearson
ffbccd5d5d Add code markup to the mention of class names 2022-10-13 15:42:01 +01:00
Dave Pearson
4569a77d54 Add code markup to the mention of a class name 2022-10-13 15:40:55 +01:00
Dave Pearson
da49d19cb7 s/fledge/fledged/ 2022-10-13 15:40:03 +01:00
Dave Pearson
e736611b55 Remove trailing whitespace 2022-10-13 15:34:10 +01:00
Dave Pearson
25fcf26a30 Add code markup to the mention of a class names 2022-10-13 15:31:34 +01:00
Dave Pearson
4a6e4ff025 Reword the details of how textual run finds an app
It seems the docs are lagging behind the code here, so this commit attempts
to update them so they're more in line with how `textual run` works.
2022-10-13 15:26:54 +01:00
Will McGugan
88447b78f6 Merge pull request #896 from Textualize/remove-unused-code
Remove unused code
2022-10-13 15:01:31 +01:00
Dave Pearson
ceb531e535 Add code markup to the mention of a class name 2022-10-13 14:46:39 +01:00
Dave Pearson
7676a6cf4c Trailing whitespace cleanup 2022-10-13 14:45:54 +01:00
Dave Pearson
bd43f0466a Harmonise the tutorial's markup of filenames
In some cases filenames where `marked-up.py`, in other cases they were
"marked-up.py", and in some cases they were just mentioned with
no-markup.py. This commit seeks to make all filename mentions, in text, the
same.
2022-10-13 14:41:10 +01:00
Dave Pearson
a342a2cb53 Add code markup to the mention of a class name 2022-10-13 14:37:03 +01:00
Dave Pearson
d6a2c88713 Add code markup to a number of code-oriented things in a line 2022-10-13 14:35:39 +01:00
Dave Pearson
45db071bb5 Add missing end quote to a string 2022-10-13 14:32:20 +01:00
Dave Pearson
1dbde34b40 Add code markup a string that is a class
Elsewhere a string that is a class is marked up this way, so let's follow
that earlier standard.
2022-10-13 14:31:32 +01:00
Dave Pearson
86b5612c9f Lower-case mention of stopwatches
This looks more like it's been used as a normal word, rather than as a
plural for the class.
2022-10-13 14:28:04 +01:00