2015-06-21 Arduinoで行番号を表示する Mac Arduino > Preferences... の Display line numbers のチェックボックスをONにすればOKです。