I have a simple problem...The left margin on my programs is cut off. Instead of a line beginning, for example, with "#define", it just reads "define." How do I recover that left margin?...just one space is missing. Does anyone else have this problem? What is the fix?
I assume you are talking about the source displayed in the Arduino IDE. Have you tried moving the horizontal scrollbar?
or hit CTRL-T => reformat the sketch, seems to work too (if brackets are in balance)
That happens to me from time to time. I close the sketch and re-open it. And no, if moving the scroll bar was all it took I would have done it.
I found the solution to my own problem...I went to "Edit" and clicked on the "Increase Indent" line. This solved the problem. Yes, this is about the Arduino IDE.
That just adds spaces to the start of the lines doesn't it?
I have the same problem, and it always happens when I write the line exceeding the editor width. The code sticks to the line dividing the line numbers and the text and doesn't go back.
[quote author=Nick Gammon link=msg=987684 date=1352366993]
That happens to me from time to time. I close the sketch and re-open it. And no, if moving the scroll bar was all it took I would have done it.
[/quote]I've had it happen from time to time. I just resize the window (actually making it slightly narrower) and the scroll bar appears. Then you can slide it over to the left.