cmullins7 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Execute the editor selection - only runs once #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type a command in the editor window
2. Highlight the command
3. Right click > Source code > Execute selection
4. do step 3 again but nothing happens the second (and subsequent) times.

What is the expected output? What do you see instead?
I was hoping that I could select some code and execute it more than once.
Unfortunately, the "Execute selection" only works the first time and code
needs to be re-selected to execute it again.

What version of the product are you using? On what operating system?
1.9.9.2 on Windows XP Pro

Please provide any additional information below.

Original issue reported on code.google.com by kmai...@gmail.com on 15 Oct 2008 at 12:31

GoogleCodeExporter commented 9 years ago
The problem seems to be that focus is taken off the Editor.  If I press F12 and 
then
Ctrl+F7 I can repeat the highlighted command multiple times.

Original comment by kmai...@gmail.com on 15 Oct 2008 at 12:46

GoogleCodeExporter commented 9 years ago
In that case I will close the error.  The focus moves to the interpreter window 
when
you run scripts of code snippets.

Original comment by pyscripter on 6 Dec 2008 at 3:47

GoogleCodeExporter commented 9 years ago
Hopping on on a closed subject - hope I'm not breaching the etiquette.

Would it be simple to change/give an option on the "focus moves to interpreter" 
behavior? If the focus stays in the editor in can easily evaluate snippets as I 
code 
along, and then switch onmy when I choose.

Another point : I'd prefer (and maybe others too) to see the expression 
evaluated 
appear in the python interpreter command line and history - Stani's or Matlab 
editor 
get that right, imho.

Original comment by y.bonne...@gmail.com on 18 Dec 2008 at 9:58

GoogleCodeExporter commented 9 years ago
>Would it be simple to change/give an option on the "focus moves to 
interpreter" 
>behavior? If the focus stays in the editor in can easily evaluate snippets as 
I code 
>along, and then switch onmy when I choose.

This has been implemented in verison 1.9.9.7

Original comment by pyscripter on 22 May 2009 at 12:47