[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset f6ab188323444fe0dd916ed3860cc5c8806caa16 by Miss Islington (bot) in branch '3.8': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959) https://github.com/python/cpython/commit/f6ab188323444fe0dd916ed3860cc5c8806caa16

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
miss-islington added the comment: New changeset 9e7697b3c55e0bd8663cf0641d4718e853af2d9c by Miss Islington (bot) in branch '3.7': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959) https://github.com/python/cpython/commit/9e7697b3c55e0bd8663cf0641d4718e853af2d9c

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14743 pull_request: https://github.com/python/cpython/pull/14974 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +14742 pull_request: https://github.com/python/cpython/pull/14973 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: > The current right margin is 1 pixel. Let's try making it 2. See PR GH-14959. I added 2 pixels of horizontal padding to the line numbers text widget, and it certainly does look much nicer. Thanks for the suggestion, Kyle! --

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +14727 pull_request: https://github.com/python/cpython/pull/14959 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current right margin is 1 pixel. Let's try making it 2. -- ___ Python tracker ___ ___

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: Correction: Terry commented on that issue (#37628) earlier today; Raymond Hettinger originally reported it a about a week ago. -- ___ Python tracker

[issue17535] IDLE editor line numbers

2019-07-26 Thread Tal Einat
Tal Einat added the comment: Thanks for trying this and giving such useful feedback, Kyle! Interestingly, Terry just opened an issue about exactly what you mention regarding the font configuration window; see issue #37628. -- ___ Python tracker

[issue17535] IDLE editor line numbers

2019-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: After testing it on Linux (through the latest dev version, launched with `./.python -m idlelib`), the line numbers seem to be working quite well across several different fonts and font sizes. My only suggestion for minor visual improvement would be to

[issue17535] IDLE editor line numbers

2019-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: After-thought test 2: proportional fonts* work fine. Nearly all have monospaced digits, with extra space around '1' if there is no bottom bar. So those also have nicely aligned right-justified columns in the sidebar. And the one font I found with

[issue17535] IDLE editor line numbers

2019-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: A note on the first 3 comments in msg223086 of 2014-07-15. 1. Canvas versus Text: The prototype posted by Brian Oakley on SO had to use a Canvas because it was meant to work even with texts with multiple fonts and in-line widgets. IDLE's editor, intended

[issue17535] IDLE editor line numbers

2019-07-23 Thread Tal Einat
Tal Einat added the comment: PR Merged! This will be in 3.8.0 and 3.7.5. Thanks to everyone who worked on this and took part in the discussion! Special thanks to Saimadhav for preparing a patch and iterating on it several times; I picked up the work from where he left off, and it was a

[issue17535] IDLE editor line numbers

2019-07-23 Thread Tal Einat
Tal Einat added the comment: New changeset e9ec1663d8fa0b3829add14e784107482af8dacb by Tal Einat in branch '3.7': [3.7] bpo-17535: IDLE editor line numbers (GH-14030) https://github.com/python/cpython/commit/e9ec1663d8fa0b3829add14e784107482af8dacb --

[issue17535] IDLE editor line numbers

2019-07-23 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +14692 pull_request: https://github.com/python/cpython/pull/14917 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-23 Thread miss-islington
miss-islington added the comment: New changeset 1da6a313ddaa269dddce303cb03ca95fe57d0c85 by Miss Islington (bot) in branch '3.8': bpo-17535: IDLE editor line numbers (GH-14030) https://github.com/python/cpython/commit/1da6a313ddaa269dddce303cb03ca95fe57d0c85 -- nosy:

[issue17535] IDLE editor line numbers

2019-07-23 Thread Tal Einat
Tal Einat added the comment: New changeset 7123ea009b0b004062d91f69859bddf422c34ab4 by Tal Einat in branch 'master': bpo-17535: IDLE editor line numbers (GH-14030) https://github.com/python/cpython/commit/7123ea009b0b004062d91f69859bddf422c34ab4 --

[issue17535] IDLE editor line numbers

2019-07-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +14691 pull_request: https://github.com/python/cpython/pull/14916 ___ Python tracker ___

[issue17535] IDLE editor line numbers

2019-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, about window menus and Mac's single menu: tk and macOS work together to switch the menu to the menu of a window that becomes active. I opened two editor windows and clicked 'Show Code Context' in just one of them. The menu then said 'Hide Code

[issue17535] IDLE editor line numbers

2019-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal's 2 issues above have been resolved. 1. Line numbers are initially off by default but this can be reversed on the Settings General tab. 2. Line numbers can be shown and hidden for a window on the Option menu. The only bug I know of that must be fixed