Patches item #1540869, was opened at 2006-08-15 15:20 Message generated for change (Comment added) made by jimjjewett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1540869&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: IDLE Group: Python 2.6 Status: Open Resolution: Later Priority: 5 Submitted By: Jim Jewett (jimjjewett) Assigned to: Kurt B. Kaiser (kbk) Summary: CodeContext visibility Initial Comment: CodeContext hardcodes several constants; these two in particular make it difficult to visually separate the "context" from the top of the regular code. Ideally, the measurement would change to something like em or ex, but ... this was an improvement. Note that the separation is explicitly there in the code already; it just doesn't work with the current constants. If the Relesae Manager decides to delay it to 2.6 (or backport to 2.4), I won't object. ---------------------------------------------------------------------- >Comment By: Jim Jewett (jimjjewett) Date: 2006-08-16 13:18 Message: Logged In: YES user_id=764593 ahh ... I hadn't even noticed the (effectively one- character) horizontal change. The change I aimed for (which I thought was the goal of the pad frame) was a slight *vertical* separation between the parts. So definately not until 2.6, and hopefully the eventual replacement will be better than what I posted here. Thank you for the clarification. ---------------------------------------------------------------------- Comment By: Tal Einat (taleinat) Date: 2006-08-16 11:40 Message: Logged In: YES user_id=1330769 I originally wrote the code with those constants. I used those constants because I specifically wanted to line up the CodeContext code with the code in the main window, for easier reading. Your patch does the exact opposite - it pushes the CodeContext code way to the right. IMO, since the purpose of CodeContext is to have the current scope easily seen, having the code aligned is vital. You may prefer dis-alignment because it's easier to tell CodeContext apart, but that's just a personal preference, and IMO not something that should be the default behavior of IDLE. Personally, I find that CodeContext's different background color is more than enough to distinguish it from the main editor window. CodeContext's background and foreground colors are configurable (in config-extensions), you can always choose colors you like better. Tal ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1540869&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches