Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Change Multiple Values at Once

    Help wanted · · · – – – · · ·
    select multiple css value changes
    4
    7
    7132
    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.
    • Mike Walko
      Mike Walko last edited by

      Hi,
      I’m injecting a style sheet via Chrome Extension and I wanted to change several values at once

      My example is here:

      img[src=“/images/progress_light.gif”] {
      opacity: 0.4!important;
      filter: invert(92%%) !important;
      -webkit-filter: invert(92%) !important;
      -moz-filter: invert(92%) !important;
      -o-filter: invert(92%) !important;
      -ms-filter: invert(92%) !important;
      }

      If I click on any value of 92% it highlights the other 92% values however I cannot change all of them at once.
      [ Image Here: http://puu.sh/o9x6m/2c12989d85.png ]
      Doing a Find and Replace won’t work for me simply because there are instances beyond this specific change where I want to keep a value of 92%.

      How can I use the highlighting that is done by Notepad++ to change all highlighted values at once?

      Any help would be appreciated.

      Thanks

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Mike Walko last edited by

        Hello @Mike-Walko,

        Settings->Preferences->Editing->Multi Editing Settings-> check enable…

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Mike Walko
          Mike Walko last edited by

          Thanks Claudia!

          I really appreciate it.

          1 Reply Last reply Reply Quote 0
          • Scott Sumner
            Scott Sumner last edited by

            Mike, did Claudia’s suggestion do what you wanted? I tried it myself, and didn’t get the behavior I think that you are desiring, unless I’m misunderstanding…

            1 Reply Last reply Reply Quote 0
            • Claudia Frank
              Claudia Frank last edited by

              Hi Scott,

              you are right, my answer wasn’t that clear.
              When enabling this you need to press the ALT Key and click with the mouse the values you want to change.

              Doing a Find and Replace won’t work for me simply because there are instances beyond this specific change where I want to keep a value of 92%.

              My brain was implying this because of this statement op posted.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • guy038
                guy038 last edited by

                Hello Claudia,

                Now, it’s my turn to not understanding properly what you mean ! Instead of the ALT key, I suppose that you’re speaking of the CTRL key, as noticed when you enable the option Settings - Preferences - Editing - Multi-Editing Settings ?

                Cheers,

                guy038

                1 Reply Last reply Reply Quote 0
                • Claudia Frank
                  Claudia Frank last edited by

                  YEESSS - CTRL - aaaahhhh

                  Seems now are my confusing days ;-)))

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors