Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 4.6.2 hide blank lines in code editor

Qt Creator 4.6.2 hide blank lines in code editor

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreator 4.6.2qtcreatorcode editorblank
18 Posts 2 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Galbarad
    wrote on last edited by
    #1

    hi guys
    I have small problem with Qt Creator) it hide blank lines and I can't found option that change this(
    any suggestion?

    Qt Creator 4.6.2
    Based on Qt 5.10.1 (MSVC 2015, 32 bit)
    
    1 Reply Last reply
    0
    • G Offline
      G Offline
      Galbarad
      wrote on last edited by
      #2

      same problem with

      Qt Creator 4.8.1
      Based on Qt 5.12.0 (MSVC 2015, 32 bit)
      

      0_1548316044359_40e71baf-c629-4dc4-9bba-081059d4b139-image.png

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Galbarad
        wrote on last edited by
        #3

        parameter "display folding markers" only show/hide markers near hidden lines

        aha_1980A 1 Reply Last reply
        0
        • G Galbarad

          parameter "display folding markers" only show/hide markers near hidden lines

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Galbarad

          Can you provide this file for download so we can reproduce?

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Galbarad
            wrote on last edited by
            #5

            of course
            hm can't upload on forum, so upload on dropbox
            https://www.dropbox.com/s/whsz6s7l8f1oytn/qsvncommit.cpp?dl=0

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Galbarad
              wrote on last edited by
              #6

              close QtCreator
              remove folder QtProject in AppData
              start QtCreator
              nothing change

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Galbarad
                wrote on last edited by
                #7

                all was fine yesterday, but looks like it was blackout in office, and perhaps QtCreator broke something

                aha_1980A 1 Reply Last reply
                0
                • G Galbarad

                  all was fine yesterday, but looks like it was blackout in office, and perhaps QtCreator broke something

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Galbarad

                  I can open the file without problems here in Windows and Linux.

                  So it looks indeed like a problem with your Creator settings.

                  Can you open the file outside your project in Creator and see if that works? (just to make sure the project settings are not guilty).

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Galbarad
                    wrote on last edited by Galbarad
                    #9

                    yes, in Notepad++ it looks fine, but in Creator blank lines missed

                    aha_1980A 1 Reply Last reply
                    0
                    • G Galbarad

                      yes, in Notepad++ it looks fine, but in Creator blank lines missed

                      aha_1980A Offline
                      aha_1980A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Galbarad

                      I meant start a new Creator, and just open the CPP file there, like I did, without opening the project.

                      Qt has to stay free or it will die.

                      G 1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        Galbarad
                        wrote on last edited by
                        #11

                        no, didn't help(
                        0_1548318047333_012d222a-dd3b-44ba-bb4b-1c8b90c05e0e-image.png

                        1 Reply Last reply
                        0
                        • aha_1980A aha_1980

                          @Galbarad

                          I meant start a new Creator, and just open the CPP file there, like I did, without opening the project.

                          G Offline
                          G Offline
                          Galbarad
                          wrote on last edited by Galbarad
                          #12

                          @aha_1980 maybe QtProject from AppData help?
                          are you QtCreator developer?)

                          aha_1980A 1 Reply Last reply
                          0
                          • G Galbarad

                            @aha_1980 maybe QtProject from AppData help?
                            are you QtCreator developer?)

                            aha_1980A Offline
                            aha_1980A Offline
                            aha_1980
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @Galbarad

                            You can try starting Creator with settingspath c:\temp (just use an empty directory) to get clean settings and try again.

                            But if that doesn't help, then I'm out if ideas.

                            are you QtCreator developer?

                            Only in my spare time :)

                            Qt has to stay free or it will die.

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              Galbarad
                              wrote on last edited by
                              #14

                              @aha_1980 nope it doesn't help(
                              thanks for your time

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                Galbarad
                                wrote on last edited by Galbarad
                                #15

                                hm blank lines hidden only between methods, in method as usual (until save)
                                also line hidden but cursor stay there
                                ex I'm on line 21 press up and cursor disappear, up one more time and cursor appear on line 19

                                1 Reply Last reply
                                0
                                • G Offline
                                  G Offline
                                  Galbarad
                                  wrote on last edited by
                                  #16

                                  found bug
                                  https://bugreports.qt.io/browse/QTCREATORBUG-21191

                                  1 Reply Last reply
                                  2
                                  • G Offline
                                    G Offline
                                    Galbarad
                                    wrote on last edited by Galbarad
                                    #17

                                    hm, problem was gone after PC restart

                                    aha_1980A 1 Reply Last reply
                                    0
                                    • G Galbarad

                                      hm, problem was gone after PC restart

                                      aha_1980A Offline
                                      aha_1980A Offline
                                      aha_1980
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #18

                                      @Galbarad so please move this topic to SOLVED state.

                                      Strange behavior, nevertheless.

                                      Qt has to stay free or it will die.

                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved