Author terry.reedy
Recipients markroseman, terry.reedy
Date 2015-09-23.07:01:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442991712.6.0.820886903405.issue25198@psf.upfronthosting.co.za>
In-reply-to
Content
List indent glitch: In the command line section, after the box, idle.rst has 

If there are arguments:

#. If ``-``, ``-c``, or ``r`` is used, all arguments are placed in
   ``sys.argv[1:...]`` and ``sys.argv[0]`` is set to ``''``, ``'-c'``,
   or ``'-r'``.  No editor window is opened, even if that is the default
   set in the Options dialog.

Firefox shows this as (but does not allow copying of '1. ')

If there are arguments:

    1. If -, -c, or r is used, all arguments are placed in sys.argv[1:...] and sys.argv[0] is set to '', '-c', or '-r'. No editor window is opened, even if that is the default set in the Options dialog.

The help window shows this, for example, (but not copy indent) as

If there are arguments: 

  * If -, -c, or r is used, all arguments are placed in sys.argv[1:...] and sys.argv[0] is set to
'', '-c', or '-r'.  No editor window is opened, even if that is the default set in the Options dialog.

The point is not '1. ' versus '* ', this being the only place where idle.rst uses '#' for a list (and I changed this).  The problem is the dedent of the second line.  This only occurs if the second line starts with a font change.  If I narrow the window so it begins with 'to', the line is indented properly. Narrow further so it begins with 'sys', no ident. I am pretty sure I have not touched your indent code.  Any ideas on how to fix?  or a tk glitch?
History
Date User Action Args
2015-09-23 07:01:52terry.reedysetrecipients: + terry.reedy, markroseman
2015-09-23 07:01:52terry.reedysetmessageid: <1442991712.6.0.820886903405.issue25198@psf.upfronthosting.co.za>
2015-09-23 07:01:52terry.reedylinkissue25198 messages
2015-09-23 07:01:52terry.reedycreate