Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Code highlighted in a blue box means I can no longer find anything!
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Code highlighted in a blue box means I can no longer find anything!

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k Views 1 Watching
  • 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
    gergnnud
    wrote on last edited by
    #1

    Urrgh! I don't know how to explain this one but a 'fat finger' (keyboard slip of some sort) turned a part of my code to be highlighted in a light blue bordered box. This meant that I could only find within that area. Tried to delete the box with code and now I have just a tiny box with no characters and cannot use find at all!

    Anybody know what I have done, what keys I have inadvertently pressed?

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Do you mean your code in Editor is blue? Or in Designer??
      In QtCreator you could check the tools->testEdit options, check out what colour the blue is and see what the reason is. It might be that you enabled a DoxyGen text block. DoxyGen always starts with /// and then another character.
      So maybe you just misplaced a / to many when you commented a piece.
      Greetz.

      Greetz, Jeroen

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

        Thanks for the quick response.

        In editor (my mainwindow.cpp). I will attach a screenshot because it's not just highlighted blue but also bordered with rounded edges. If it still had code in it it would surround all that code's text.

        I don't seem to have tools->testEdit (Mac, Qt Creator installed a few weeks ago)

        The DoxyGen text block could be it. If so how do I get back to normal? I cannot find a way to delete this or anything else now I have isolated it and 'Find' only wants to find in this, now empty, block.

        !http://www.eon-fx.com/downloads/blue_block.png(blue_block)!

        Edit. Figured by Tools->testEdit you meant Preferences->Text Editor on Mac. The block is for 'search scope'. How do I get back to normal?

        Edit 2. Doh! Just close the Find area ( X button top right ) and all back to normal. I'll mark as solved.

        1 Reply Last reply
        0
        • JeroentjehomeJ Offline
          JeroentjehomeJ Offline
          Jeroentjehome
          wrote on last edited by
          #4

          Hihi, sometimes the most easy solution is the hardest to find ;-)
          Happy coding!!!

          Greetz, Jeroen

          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