Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. Code block syntax not strict enough
Forum Updated to NodeBB v4.3 + New Features

Code block syntax not strict enough

Scheduled Pinned Locked Moved Qt.io webservices
5 Posts 4 Posters 1.9k 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.
  • frankcyblogic.deF Offline
    frankcyblogic.deF Offline
    frankcyblogic.de
    wrote on last edited by
    #1

    For instance, when referring to two other people I get accidentally a highlighted block:

    @Mike: As you said....

    @John: You are right!

    Blabla, more useful info...

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      can you please show, where that happend?

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • frankcyblogic.deF Offline
        frankcyblogic.deF Offline
        frankcyblogic.de
        wrote on last edited by
        #3

        I just noticed it when reading this thread: http://developer.qt.nokia.com/forums/viewthread/161 . Post 5.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Thats because of the two @-chars:

          @

          @Mike: As you said....

          @John: You are right!
          @

          The first one starts the code section, the second one ends it.

          As far as I know, the Trolls are already thinking of a more clever solution regarding code highlighting. For the moment you can force a literal @ char by typing @.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mgran
            wrote on last edited by
            #5

            Indeed, we want to require either a space or a line-break on the sides of the @ to invoke or end the syntax highlighter. Most usage of @ fits this pattern and it will then leave e-mail addresses and diff lines alone.

            It's scheduled for the next roll-out (next week).

            Project Manager - Qt Development Frameworks

            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