Community
    • Login

    Invert Background and forground colors on select words in a document

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 366 Views
    Loading More Posts
    • 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.
    • Tony MongielloT
      Tony Mongiello
      last edited by

      Back in the old 8bit days, we called this “Inverse Video” :)

      Is there a way to “format” selected characters in a document and invert the fore and background colors?

      For example: I use Dark Mode as well as a custom Default style so that it’s bright green text on a black background. I’d like to be able to select characters/words and “invert” then to be a black text on a green background.

      Been racking my brain on this, can’t find where it would be possible. Is it?

      Thanks!
      T

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Tony Mongiello
        last edited by PeterJones

        @Tony-Mongiello said in Invert Background and forground colors on select words in a document:

        Is there a way to “format” selected characters in a document and invert the fore and background colors?

        Not permanently. This is a text editor, and text (like a .txt file) doesn’t store things like font and color.

        There are ways to convince Notepad++ to higlight things: you can use the Mark dialog to temporarily mark things, or the Search > Style All Occurrences / Style One Token actions to add color (similar to inverse video) temporarily. But that doesn’t get saved in the file, because that’s not a feature of text files.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors