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. Supporting solarized colors using QSyntaxHighlighter
Forum Updated to NodeBB v4.3 + New Features

Supporting solarized colors using QSyntaxHighlighter

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 892 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.
  • E Offline
    E Offline
    edreamleo
    wrote on last edited by
    #1

    Hello all,

    My app would like to fully support the "solarized ":http://ethanschoonover.com/solarized color scheme.

    To do this, we would like to use the dark theme for selections, and the light theme for non-selected text. something like "this": http://www.phpstorm-themes.com/sites/default/files/Screen-Shot-2012-12-06-at-3.17.48-PM.png.

    My question is this: is it possible (without writing a lot of low level code) to highlight selected text in a QTextEdit (colorized using QSyntaxHighlighter) so that the selection background color changes, but the multiple different foreground colors in the selected region remain unchanged.

    Thanks.

    Edward

    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