Code

2nd part of the fix for bug #167500: correctly update the rulers when they change...