Results 1 to 6 of 6

Thread: Multiline match with QRegExp

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    11
    Thanked 16 Times in 16 Posts

    Default Re: Multiline match with QRegExp

    Maybe you could count the block number and look at the next line via QSyntaxHighlighter::document()

  2. #2
    Join Date
    Nov 2007
    Posts
    89
    Qt products
    Qt4
    Platforms
    Windows
    Thanked 21 Times in 18 Posts

    Default Re: Multiline match with QRegExp

    Maybe I will try it, for now I just switched to the alternative straightforward syntax:
    Qt Code:
    1. # Heading 1 #
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Multiline entry in a QMenu
    By tyrdal in forum Qt Programming
    Replies: 0
    Last Post: 28th September 2009, 11:54
  2. Replies: 1
    Last Post: 21st September 2009, 07:30
  3. Multiline QCombobox
    By tyrdal in forum Qt Programming
    Replies: 1
    Last Post: 15th June 2009, 18:37
  4. Multiline QPushButton
    By uestebanez in forum Qt Programming
    Replies: 4
    Last Post: 12th October 2008, 21:25
  5. QRegExp match all excpet "_"
    By mattia in forum Newbie
    Replies: 6
    Last Post: 28th March 2008, 12:53

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.