Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1047

Mac: Line numbers and folding markers do not align with the actual text lines when the font size is not 12pt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 1.3.83 (2.0.0-beta)
    • Editors
    • None
    • OS X 10.5.8; Qt 4.6.2; Qt Creator snapshot qtcreator-mac-opensource-1.3.83-201004020030-setup.dmg

    Description

      When using font size other than 12pt for the text editor, the line numbers and folding markers do not align with the actual text lines.

      1. In preferences. set Text Editor to use Monaco 11 pt font. Also enable display of line numbers and folding markers.
      2. Open a source file that is more than a page long.
      3. Note that the line numbers and folding markers progress faster than the actual text. Move the text cursor to line 55, for example, the line number next to it is 58.

      This also cause the scrollbar to calculate the page length wrong. Making it impossible to scroll to the end of files.

      Attachments

        1. Picture 2.png
          61 kB
          Stephen Chu

        Issue Links

          Activity

            People

              lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
              stephenju Stephen Chu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: