hthang1988 / arduino

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

New line inserted when using shortcut for Serial Monitor #279

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ctrl-shift-m to open serial monitor
2. new line is added to code at text cursor position

What is the expected output? What do you see instead?
I don't expect the added new line.
Though in Notepad++  ctrl-m makes a new line. Maybe similar functionality is 
implemented in the Arduinio IDE.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
At least Arduino 0017 and 0018 on Windows XP. May be the same on OSX.

Please provide any additional information below.

Original issue reported on code.google.com by Car...@gmail.com on 28 Jun 2010 at 8:01

GoogleCodeExporter commented 9 years ago
Able to duplicate the problem in Version 1.0 on Windows XP. 

Original comment by lcshan...@gmail.com on 3 Jan 2012 at 6:05

GoogleCodeExporter commented 9 years ago
Same on Linux v1.0

Original comment by sakke.w...@gmail.com on 18 Feb 2012 at 1:40

GoogleCodeExporter commented 9 years ago
I don't have the issue on OS X Snow Leopard with v1.0

Original comment by c...@fridata.dk on 24 Feb 2012 at 1:49

GoogleCodeExporter commented 9 years ago
Reproduced on windows and linux with Arduino 1.0.

Patch for the issue: 
https://github.com/EbiDK/Arduino/commit/f9ba687cff3bbc4fca0bfb2ab3a4fe456a1dc15c

Tested and working on windows and linux. Need someone to test it on OS X to 
make sure it doesn't break anything there.

Original comment by lars.j.n...@gmail.com on 25 Feb 2012 at 9:15

GoogleCodeExporter commented 9 years ago
Forgot to add: The patch is part of this pull request: 
https://github.com/arduino/Arduino/pull/64

Original comment by lars.j.n...@gmail.com on 25 Feb 2012 at 9:18

GoogleCodeExporter commented 9 years ago
While you're at it, can I request it to be changed to just CTRL + M? It's a 
hotkey one must utilize quite often during testing and it is considerably more 
strenuous on one's fingers to press 3 keys. I fear that if this bug is fixed, 
CTRL + M will still be pressed (as I have noticed I often do, resulting in no 
debug window opening) and a CR will still be sent.

Original comment by glenneroo on 2 Mar 2012 at 2:41

GoogleCodeExporter commented 9 years ago
What was the reason it is ctrl-shift-m to begin with?

Original comment by lars.j.n...@gmail.com on 3 Mar 2012 at 5:03

GoogleCodeExporter commented 9 years ago
I'll try to get this into 1.0.1.  The reason it's not Ctrl-M is that on the Mac 
that shortcut minimizes the window.

Original comment by dmel...@gmail.com on 3 Mar 2012 at 5:56

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/24916baf70d7c4ff71125defdb7b8160b7b017
ed

Original comment by dmel...@gmail.com on 11 Mar 2012 at 5:52

GoogleCodeExporter commented 9 years ago
Issue 876 has been merged into this issue.

Original comment by dmel...@gmail.com on 8 Apr 2012 at 9:48