classification
Title: IDLE: separate editor window and text
Type: Stage:
Components: IDLE Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: louielu, terry.reedy
Priority: normal Keywords:

Created on 2017-06-27 03:21 by louielu, last changed 2017-07-16 03:56 by terry.reedy.

Messages (3)
msg296992 - (view) Author: Louie Lu (louielu) * Date: 2017-06-27 03:21
Currently, IDLE EditorWindow was mixed with the GUI skeleton and text area, and the other plugin such as hyperparser was operate on editwin. Such a design let IDLE is difficult to changed its GUI design, from new window to new tab style.

If we seperate EditorWindow and the text zone, it will make more easy to port to ttk.Notebook. How do you think about this, terry?
msg297003 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-27 05:17
Absolutely essential, as I recentlly mentioned recently on another issue: text window and text frame containing scrolled wrapped text, status bar, and left side bar.  Also essential is a proper base class that has functions common to Editor, Shell, and Output, but not functions unique to any.  The current hierarchy is upside down.

How much of this does the patch for #9262, Tabbed shell and edit windows, do?  Does it merely replace wrapped Text with Notebook within an unwieldly mega-class?  Or something more?  Review welcome (perhaps without immediate conversion to a PR).
msg298410 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-07-16 03:56
This is at least partly a duplicate of #25036, but until I look at the approach in that patch, versus what I have been thinking of, I cannot tell if this should be closed.
History
Date User Action Args
2017-07-16 03:56:16terry.reedysetmessages: + msg298410
2017-06-27 05:17:23terry.reedysetmessages: + msg297003
title: IDLE: seperate editor window and text -> IDLE: separate editor window and text
2017-06-27 03:21:40louielucreate