Community
    • 登入

    Notepad++ formatting issue

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    5 貼文 2 Posters 2.9k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • DromsD
      Droms
      最後由 編輯

      Hello people of Notepad++

      I have been having this issue with Notepad++ and I’m not sure what it is and how to put it in words but that’s why I have screenshots!
      Screenshots: http://imgur.com/a/sK8ho
      I have put BOTH files into a YAML checker and they both turned out fine with 0 errors. I have this issue when I copy and paste something from a website to the notepad++ file.

      I don’t know if this is a setting or what but its really annoying.

      Thanks.

      1 條回覆 最後回覆 回覆 引用 0
      • DromsD
        Droms
        最後由 編輯

        Anyone?

        1 條回覆 最後回覆 回覆 引用 0
        • MAPJe71M
          MAPJe71
          最後由 編輯

          Based on the red rectangles in the linked screen dumps I presume your trying to tell us you are wondering why the code-folding margin is empty for the second file (messages.yml).

          I don’t know how exactly the code-folding is implemented for the YAML lexer but I see a lot of differences between the contents of the two files that might be of influence.
          Can you provide a link to the files for a closer look?

          1 條回覆 最後回覆 回覆 引用 0
          • DromsD
            Droms
            最後由 編輯

            Well I fixed this issue.

            The issue was that the double spaces where not spaces they where blank areas causing notepad++ not to read them.

            So I replaced the blank areas with real spaces.

            1 條回覆 最後回覆 回覆 引用 0
            • MAPJe71M
              MAPJe71
              最後由 編輯

              Great!

              FYI N++ can make these whitespace differences easier to detect by enabling View > Show Symbol > Show White Space and Tab.

              1 條回覆 最後回覆 回覆 引用 0
              • 第一個貼文
                最後的貼文
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors