Community
    • 登入

    Why I often have this >>>>>>>> or <<<<<<<<<in my code?

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

      @Claudia-Frank

      @Fourmi-Krohonde said:

      Hi!

      Please, could you tell me why I often have this >>>>>>>> or <<<<<< or < in my code?
      For example:

      <span class=“gras”>Les astronaute<s ne peu>>vent pas pren<dre de douche,</span>

      Thanks for your help.

      Hi CLaudia, thanks for your answer.
      No it’s not a part of my syntax! Suddendly, this <<<<, or juste one <, appears in my code.

      For example I’m writting at the line 140, and whehn I go down to line 570, i find this >>>>> or <<<<.
      Strange no?

      1 條回覆 最後回覆 回覆 引用 0
      • AdrianHHHA
        AdrianHHH
        最後由 編輯

        Some source configuration programs add lines like that when they find a merge conflict. The program will leave both versions of the conflicting text in the merge output but they will be clearly marked by lots of >>>>>>>> and <<<<<<<<<. For example, see https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line

        Fourmi KrohondeF 1 條回覆 最後回覆 回覆 引用 0
        • Fourmi KrohondeF
          Fourmi Krohonde @AdrianHHH
          最後由 編輯

          @AdrianHHH

          @AdrianHHH said:

          Some source configuration programs add lines like that when they find a merge conflict. The program will leave both versions of the conflicting text in the merge output but they will be clearly marked by lots of >>>>>>>> and <<<<<<<<<. For example, see https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line

          Thanks … but your link tells that this happens when I work with a colleague. But I am working alone on my Notepad++.
          And this > or << happens in lines very far from the line I am working.
          For exemple, I am writting on line 95 and the problem occurs at line 727.
          Strange no?

          1 條回覆 最後回覆 回覆 引用 0
          • Fourmi KrohondeF
            Fourmi Krohonde
            最後由 編輯

            No one knows?
            May be it’s come from the graphic tablet, I use it with a stylus.
            But it’s really disturbing, when I’m writting my code, often this <s<p<an<=<"<<<<<<<<<c<l<a<ss…come and take me lot of time to fix it!

            Thanks for helping

            Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
            • Claudia FrankC
              Claudia Frank @Fourmi Krohonde
              最後由 編輯

              @Fourmi-Krohonde

              what AdrianHHH meant, well what I guess what he meant, is, that version control software
              like git, mercurial, svn may do such things to mark the changes. So, do you use such tools?
              What I find strange is that it may happen in between words?
              Could you provide the debug info? (Can be found under ? menu)

              Cheers
              Claudia

              1 條回覆 最後回覆 回覆 引用 0
              • Fourmi KrohondeF
                Fourmi Krohonde
                最後由 編輯

                Hi Claudia,
                thanks for helping,
                here is the Debug info:
                Notepad++ v6.8.8
                Build time : Dec 10 2015 - 01:11:37
                Path : D:\Notepad++\notepad++.exe
                Admin mode : ON
                Local Conf mode : OFF
                OS : Windows 10
                Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

                Sincerely.
                Evrard

                Fourmi KrohondeF 1 條回覆 最後回覆 回覆 引用 0
                • Fourmi KrohondeF
                  Fourmi Krohonde @Fourmi Krohonde
                  最後由 編輯

                  @Fourmi-Krohonde said:

                  Hi Claudia,
                  thanks for helping,
                  No, I don’t use git, mercurial, svn.
                  here is the Debug info:

                  Notepad++ v6.8.8
                  Build time : Dec 10 2015 - 01:11:37
                  Path : D:\Notepad++\notepad++.exe
                  Admin mode : ON
                  Local Conf mode : OFF
                  OS : Windows 10
                  Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

                  Sincerely.
                  Evrard

                  Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                  • Claudia FrankC
                    Claudia Frank @Fourmi Krohonde
                    最後由 編輯

                    @Fourmi-Krohonde

                    Hmm, you only use the standard plugin - strange.
                    Can you easily reproduce this behavior?
                    Do you have still a PC/Laptop around, does it happen there as well when editing the same file?
                    When it happens do the files share similarities?
                    You see, I’m fishing in muddy water.

                    Cheers
                    Claudia

                    Fourmi KrohondeF 1 條回覆 最後回覆 回覆 引用 0
                    • Fourmi KrohondeF
                      Fourmi Krohonde @Claudia Frank
                      最後由 編輯

                      @Claudia-Frank said:

                      @Fourmi-Krohonde

                      Hmm, you only use the standard plugin - strange.
                      Can you easily reproduce this behavior?
                      Do you have still a PC/Laptop around, does it happen there as well when editing the same file?
                      When it happens do the files share similarities?
                      You see, I’m fishing in muddy water.

                      Cheers
                      Claudia

                      Hi Claudia,
                      Theses <<<<<< or <i<m<g<c<l<…happens when I am writting the code. I save it, Then I go to verify the page, and these things happen.

                      Or, I save my page, everything is good. And the day after, when I open it, these >>>> happen!

                      You’re fishing in muddy waters? Good, this is where live the bigger fishes!
                      Thanks for your help.
                      Evrard

                      1 條回覆 最後回覆 回覆 引用 0
                      • Claudia FrankC
                        Claudia Frank
                        最後由 Claudia Frank 編輯

                        Hi Evrard,

                        when you are saying

                        Then I go to verify the page

                        what exactly does this mean? You open the browser and load your file?
                        You copy the file over to your webserver and then you are using a browser to verify?
                        If so, do you use ftp to do this?

                        You’re fishing in muddy waters? Good, this is where live the bigger fishes!

                        No sharks, except wiresharks, please. ;-)

                        Cheers
                        Claudia

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