Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • Robk BlueR

      Tab spacing copying from Notepad++ into WordPress

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      210 Views
      PeterJonesP
      @Robk-Blue said: Yes I’m using tab setting of 2. The problem seems to be weirder that just application processing tab characters differently because it’s not uniform. That tells me that you probably have a mix of spaces and tabs, without realizing it. In Notepad++, use View > Show Symbol > Show Space and Tab. You will see a middot • for spaces, and an arrow → for tabs… the width of the arrow will grow to fit the remaining space in the tab-spacing [image: 1793293737638-b2bb93e2-ae0e-4350-a0df-1708f84dd276-image.jpeg] (2 spaces)display: block; (8 spaces)font-family: Arial; (4 spaces)text-align: right; (4 spaces)font-size: 20px; So what this tells me is that your actual file, in Notpead++, is really as follows, with your WordPress being set to show 4 spaces per tab instead of two: [SPACE][SPACE]display: block; [TAB][TAB]font-family: Arial; [SPACE][TAB]text-align: right; [SPACE][TAB]font-size: 20px; Though the 8-wide version being two tabs surprises me, because that wouldn’t look aligned properly in Notepad++ [image: 1793294204910-8cac1852-6a8b-4cfd-8a8b-635c5b5185ab-image.jpeg] But my guess is it’s similar to that, if not that exactly.
    • guy038G

      Surprising regular expression !

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      2
      1 Votes
      2 Posts
      1k Views
      S
      That’s a clever little experiment! I never really thought about using regular expressions to represent mathematical patterns like multiples of 3, but it makes sense when you look at the binary sequence. Definitely a fun way to explore just how powerful regex can be beyond ordinary text searching.
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      86
      3 Votes
      86 Posts
      92k Views
      Thomas KnoefelT
      Hi guy038, interesting series of runs, thanks! Both runs without threads, the 2 m one and most likely the 1 m 28 s one too (see below), are slower than the 1 m 13 s with auto. So the threads do help on your key, even if cold runs vary quite a bit. Yes, the quotes are expected. LoadThreads is stored as text because it can also be "auto", and the quotes are removed when the file is read, so 0 and "0" mean the same. What changed your 8 back to 0 is something else: MultiReplace reads its INI file once at startup and, once its panel has been opened, writes all its settings back when Notepad++ closes. An edit made in the meantime is therefore overwritten on exit. So your 1 m 28 s run most likely still used LoadThreads=0. To test 8: change the line either in Notepad++ before opening MultiReplace, or with another editor while Notepad++ is closed. Then restart Notepad++, and the new value is used. Curiously, in my experience with other tools, four to six parallel threads were always the optimum.