aravind0220 / arduino

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

Autoformat scrolls the editor #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a sketch
2. navigate down with the arrow keys
3. insert a space or tab at the beginning of the line
4. press command + t

What is the expected output?
Text should be formatted, the just inserted tab or space should be deleted.

What do you see instead?
The text is formatted correctly. The editor scrolled down a few lines. Made
me loose my "code orientation".

What version of the Arduino software are you using? On what operating
system?
Arduino 017 on OSX tiger

Original issue reported on code.google.com by brammele...@gmail.com on 27 Aug 2009 at 2:13

GoogleCodeExporter commented 9 years ago
A newline is also inserted at the end of the file, even if there is one there 
already.

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

GoogleCodeExporter commented 9 years ago
Happens on Win8.1 too.
version 1.0.5-r2

Editor scrolls down and adds a line at the end.

Original comment by roether....@gmail.com on 22 Apr 2014 at 12:53

GoogleCodeExporter commented 9 years ago
Fixed long time ago with the introduction of AStyle formatter

Original comment by c.mag...@arduino.cc on 27 May 2015 at 10:40