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
      227 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.