cmullins7 / pyscripter

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

Undo after Ctrl - J, without pre-entered keyword #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Ctrl-J
2. select a code template
--> code template shows up in editor
3. Ctrl-Z

What is the expected output? What do you see instead?
If Ctrl -J is pressed when NO keyword is in front ofthe cursor, and it's 
expected that nothing remains.
However, the selected keyword itself is left in the editor.
This behaviour is only desirable if a possible keyword for the macro was 
in front of the cursur.

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

Please provide any additional information below.

Original issue reported on code.google.com by n.j.degr...@gmail.com on 7 Aug 2008 at 12:54

GoogleCodeExporter commented 9 years ago
A college of mine pointed out that the text above is somewhat unclear. So let 
me 
refrase that part:

What is the expected output? What do you see instead?
If Ctrl -J is pressed when NO keyword is in front ofthe cursor and a code 
template 
is selected. Then after pressing Ctrl-Z it's expected that nothing remains.
However, the selected keyword itself is left in the editor.

This behaviour is only desirable if a possible keyword for the macro was 
in front of the cursur at first.

Original comment by n.j.degr...@gmail.com on 7 Aug 2008 at 3:00

GoogleCodeExporter commented 9 years ago
Just press Ctrl-Z again and your done.  I don't think it is a common issue 
which is
worth the effort to fix it.

Original comment by pyscripter on 10 Aug 2008 at 10:57