Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ed7d279
refactor TextFrame, extracting just the basic scrollable text widget
taleinat Jul 26, 2019
f67f6b9
use a scrollable text widget for the font config page's preview
taleinat Jul 26, 2019
0092a93
highlight page sample also a fixed-sized, scrollable text widget
taleinat Jul 26, 2019
3380193
refactor: make self.font_sample and self.highlight_sample consistent
taleinat Jul 26, 2019
b1dc2dd
rename for clarity: add_config_hook -> add_config_callback
taleinat Jul 26, 2019
48e97ce
Omit unneeded extra line number.
terryjreedy Jul 26, 2019
f78427a
Use horizontal scroller for font sample.
terryjreedy Jul 26, 2019
221e051
Condense 'font_sample_scrollable_frame' to 'font_sample__frame.
terryjreedy Jul 26, 2019
34c218a
Blurb.
terryjreedy Jul 26, 2019
b954c06
Meaningful names for callback functions.
terryjreedy Jul 27, 2019
72015a9
rename 'text' input param to 'contents' and use 'text' as local var
taleinat Jul 27, 2019
b5c467d
fix double-underscore typo
taleinat Jul 27, 2019
7100ec9
re-instate use of 'text' local variable in ScrollableTextFrame code
taleinat Jul 27, 2019
977c219
simplify ScrollableTextFrame, removing the config callback
taleinat Jul 27, 2019
3d8729d
Rename AutoHiddenScrollbar to AutoHideScrollbar
terryjreedy Jul 27, 2019
501fde2
Fix textview htest.
terryjreedy Jul 27, 2019
52cfa62
Restore coverage, reduced in prior issue, to 100%.
terryjreedy Jul 27, 2019
2cbf9e5
Double space between classes.
terryjreedy Jul 27, 2019
59eba51
Spacing
terryjreedy Jul 27, 2019
f6ac725
Combine configuration.
terryjreedy Jul 27, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix textview htest.
  • Loading branch information
terryjreedy committed Jul 27, 2019
commit 501fde24a1059055cb7ed6eff356b43ce33d8bc0
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/htest.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def _wrapper(parent): # htest #
ViewWindow_spec = {
'file': 'textview',
'kwds': {'title': 'Test textview',
'text': 'The quick brown fox jumps over the lazy dog.\n'*35,
'contents': 'The quick brown fox jumps over the lazy dog.\n'*35,
'_htest': True},
'msg': "Test for read-only property of text.\n"
"Select text, scroll window, close"
Expand Down