line number not updated when changing tabs

In the very bottom of the IDE on the left you find the current line number which can be very useful.
If you have more than one tab when switching between tabs the line number does not get updated.
Only on clicking somewhere or moving the cursor the line number is updated according to the current tab.
Reading the false number can be confusing.

Thanks for reporting this Klausj. I submitted an issue report to the bug tracker:

Great news! One of the IDE developers has already fixed this bug, only a matter of hours after it was reported. Talk about a good response time! If you want to give it a try, it's already available in the hourly build of the Arduino IDE:

Thanks again Klausj.