Rodrigo Girão Serrão
2b9cd81ca5
Cleanup and new test.
2023-01-17 10:29:19 +00:00
Rodrigo Girão Serrão
8f877d826f
Update changelog.
2023-01-12 14:43:23 +00:00
Rodrigo Girão Serrão
036c3e8651
Update documentation.
2023-01-12 14:42:04 +00:00
Rodrigo Girão Serrão
003d98e016
Update help text.
2023-01-12 14:40:46 +00:00
Rodrigo Girão Serrão
dd2a85d70b
Raise custom error when 'none' is mixed with other flags.
2023-01-12 14:40:25 +00:00
Rodrigo Girão Serrão
dc318b8c93
Update tests.
2023-01-12 14:39:05 +00:00
Rodrigo Girão Serrão
9d9726f854
Remove stray print statement.
2023-01-12 11:28:28 +00:00
Rodrigo Girão Serrão
4a893b5169
Short-circuit text style parsing when unnecessary.
2023-01-12 10:59:55 +00:00
Rodrigo Girão Serrão
c2f289e472
Add failing test.
2023-01-12 10:58:14 +00:00
Rodrigo Girão Serrão
461af6b7c3
Merge pull request #1544 from Textualize/fix-placeholder-docs
...
Fix doc issue.
2023-01-12 10:24:57 +00:00
Dave Pearson
328733edee
Merge pull request #1545 from davep/cli-diagnose
...
Add a textual diagnose CLI command
2023-01-11 15:13:47 +00:00
Dave Pearson
05931c448d
Embrace the functional
2023-01-11 15:08:22 +00:00
Dave Pearson
4ba974e2b4
Fix a CHANGELOG typo
2023-01-11 15:06:37 +00:00
Dave Pearson
7f6cfdf6f1
DRY getting an environment variable representation
2023-01-11 14:41:57 +00:00
Dave Pearson
966bca3669
Pick up anything INSIDE_EMACS
...
This should, from what I can see, pick up being run inside any Emacs-based
shell/term.
2023-01-11 13:49:42 +00:00
Dave Pearson
be31341c5b
Add a textual diagnose CLI command
...
This, in this early version anyway, emits a simple dump of
GitHub-issue-friendly markdown text that lists all of the key information we
may want to know when someone using having a problem with Textual.
See #1542 .
2023-01-11 13:20:29 +00:00
Rodrigo Girão Serrão
8cb98631d4
Fix doc issue.
2023-01-11 11:59:49 +00:00
Will McGugan
1c4fe0c4fb
added text re navigation
2023-01-10 18:18:59 +00:00
Will McGugan
e4cef274b1
tweak
2023-01-10 18:18:59 +00:00
Will McGugan
c03f05df05
Merge pull request #1501 from nitzan-shaked/tree-cursor-horiz-scroll
...
Fix "tree scrolls back to left"
2023-01-10 08:17:53 -08:00
Will McGugan
809e7c9d08
Merge pull request #1537 from Textualize/fix-docs-api
...
Minor doc fixes.
2023-01-10 08:15:44 -08:00
Will McGugan
1c21127c8f
Merge pull request #1538 from nitzan-shaked/scrollbar-renderer
...
Pluggable ScrollBarRender
2023-01-10 08:14:09 -08:00
Will McGugan
402afa5c17
Merge pull request #1535 from davep/get-treenode-by-id
...
Add `Tree.get_node_by_id`
2023-01-10 08:12:49 -08:00
Will McGugan
43915b9415
update to introduction
2023-01-10 16:07:33 +00:00
Nitzan Shaked
cb9a67cf05
added docstring to _get_label_region
2023-01-10 17:56:28 +02:00
Nitzan Shaked
b09511b6e6
Fix PR comments
2023-01-10 17:32:38 +02:00
Dave Pearson
d0ea967aa4
Merge branch 'get-treenode-by-id' of github.com:davep/textual into get-treenode-by-id
2023-01-10 15:30:12 +00:00
Dave Pearson
494c63a72b
Tweak the unknown node ID exception
...
See https://github.com/Textualize/textual/pull/1535#discussion_r1065904713
and https://github.com/Textualize/textual/pull/1535#discussion_r1065909144
2023-01-10 15:28:17 +00:00
Nitzan Shaked
1430b6bf33
POC for pluggable scrollbar renderers
2023-01-10 17:19:16 +02:00
Nitzan Shaked
d938ab9c5c
fix PR comments
2023-01-10 17:15:12 +02:00
Nitzan Shaked
19d27aa7a6
proposal for fixing #1453
...
along the way:
make Tree._refresh_node somewhat more efficient by:
* stopping early
* coallescing multiple refresh() calls of single lines into one call
change "TreeControl" to "Tree" in a few texts
(and funny enough, in demo.css, which doesn't even use it);
remove the (appearantly dead) Tree._refresh_node_line
2023-01-10 17:06:08 +02:00
Dave Pearson
c027a06ee2
Merge branch 'main' into get-treenode-by-id
2023-01-10 14:59:36 +00:00
Dave Pearson
728acc27c0
Introduce an exception specific to handling an unknown node ID
...
See https://github.com/Textualize/textual/pull/1535#discussion_r1065873649
2023-01-10 14:57:35 +00:00
Rodrigo Girão Serrão
e1d36e5be8
Minor doc fixes.
2023-01-10 14:45:37 +00:00
Dave Pearson
4c75d1cb48
Merge pull request #1528 from davep/tree-node-highlighted-message
...
Add `Tree.NodeHighlighted` message
2023-01-10 14:44:03 +00:00
Dave Pearson
35dd73be49
Merge pull request #1536 from davep/paste-bubble
...
Make `events.Paste` bubble
2023-01-10 14:32:34 +00:00
Dave Pearson
a12e5aa0b3
Merge branch 'paste-bubble' of github.com:davep/textual into paste-bubble
2023-01-10 14:29:53 +00:00
Dave Pearson
d8a4fda4f1
Fix a CHANGELOG typo
2023-01-10 14:26:04 +00:00
Will McGugan
0f8c0b43bf
Update CHANGELOG.md
2023-01-10 14:24:58 +00:00
Rodrigo Girão Serrão
0f3aff6fb1
Merge pull request #1408 from Textualize/review-styles-reference
...
Review styles reference
2023-01-10 14:20:11 +00:00
Dave Pearson
c19521ac43
Make events.Paste bubble
...
See #1434 .
2023-01-10 14:14:54 +00:00
Dave Pearson
cd61b74dac
Merge pull request #1534 from ofek/patch-1
...
Fix typo
2023-01-10 12:38:57 +00:00
Dave Pearson
39ec545b69
Update the CHANGELOG with a link to the PR
...
Now that it's a PR
2023-01-10 10:46:00 +00:00
Dave Pearson
6ea68cc112
Add Tree.get_node_by_id
...
The thinking here is that a user of a Tree may want to relate notes to other
parts of their UI, or other data in their application. While this could be
done by keeping a reference to the node itself, it could also be beneficial
to just track the ID. Given that ID is a public property of a TreeNode, but
given it doesn't currently have any other (public) purpose, this seems to
add some useful symmetry.
2023-01-10 10:42:07 +00:00
Ofek Lev
9b779c130d
Fix typo
2023-01-10 01:42:16 -05:00
Will McGugan
bdf9a32b4d
Merge pull request #1526 from tonybaloney/patch-1
...
Annotate only_one comment with additional context
2023-01-09 08:47:33 -08:00
Rodrigo Girão Serrão
d9a0c343d7
Update snapshot tests.
2023-01-09 16:42:15 +00:00
Rodrigo Girão Serrão
d41471034a
Fix failing tests.
2023-01-09 16:39:12 +00:00
Rodrigo Girão Serrão
130d8b8d05
Increase negative y offset.
2023-01-09 16:34:24 +00:00
Rodrigo Girão Serrão
15691b4451
Remove debugging style.
2023-01-09 16:34:06 +00:00