Community
    • Login

    code folding total elementos linhas niveis 1 2 3 4

    Scheduled Pinned Locked Moved General Discussion
    36 Posts 3 Posters 7.9k Views 1 Watching
    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.
    • EkopalypseE Offline
      Ekopalypse
      last edited by

      @Francisco-Bomfim

      Sorry, I was busy with some personal matters and I hope you still visit this thread.
      Here’s a python script that hopefully does what you want. If there is something else you might want to have or it doesn’t do what you want it to be done I would kindly ask to use the github issue tracker in my repo.

      1 Reply Last reply Reply Quote 1
      • Francisco BomfimF Offline
        Francisco Bomfim
        last edited by

        Prezado Ekopalypse

        boa tarde, saúde a você e família.

        Funcionou!
        Perfeito!

        Era esse resultado que eu estava precisando.

        Muito obrigado!

        • desculpe ter apagado as postagens.
        • houve críticas e fiquei triste.

        aceite um forte abraço.

        grato pela atenção.

        francisco.bomfim@gmail.com
        PY1ANA
        Brazil.Rio de Janeiro

        1 Reply Last reply Reply Quote 1
        • Francisco BomfimF Offline
          Francisco Bomfim
          last edited by

          @Ekopalypse

          Dear Ekopalypse

          good afternoon, health to you and family.

          It worked!
          Perfect!

          It was this result that I was needing.

          Thank you!

          • sorry to have deleted the posts.
          • there was criticism and I was sad.

          accept a big hug.

          grateful for the attention.

          francisco.bomfim@gmail.com
          PY1ANA
          Brazil rio de janeiro

          1 Reply Last reply Reply Quote 1
          • EkopalypseE Offline
            Ekopalypse
            last edited by

            O prazer é meu.
            Paz e saúde para você e sua família.

            My pleasure.
            Peace and health to you and your family as well.

            1 Reply Last reply Reply Quote 0
            • Francisco BomfimF Offline
              Francisco Bomfim
              last edited by

              @Ekopalypse
              bom dia!. saúde!
              muito obrigado.
              opção 1 • funcionou perfeitamente.
              eu fiz um pequeno ajuste no código para exibir “(99)”

              gostaria de sua ajuda para opção 2 • alterar o código para contabilizar apenas as linhas contendo “#”

              agradeço muito por sua ajuda

              Good Morning!. Cheers!
              thank you very much.
              option 1 • worked perfectly.
              I made a small adjustment to the code to display “(99)”

              would like your help for option 2 • change the code to count only as lines containing “#”

              thank you so much for your help

              1 Reply Last reply Reply Quote 0
              • Francisco BomfimF Offline
                Francisco Bomfim
                last edited by

                python_example_1.jpg

                1 Reply Last reply Reply Quote 0
                • Francisco BomfimF Offline
                  Francisco Bomfim
                  last edited by

                  • exibir todas as linhas e contabilizar apenas as linhas contendo “#”
                  • display all rows and count only rows containing “#”

                  EkopalypseE 1 Reply Last reply Reply Quote 0
                  • EkopalypseE Offline
                    Ekopalypse @Francisco Bomfim
                    last edited by

                    @Francisco-Bomfim

                    Você se importaria de abrir um assunto para ele aqui (no github)?
                    Eu odiaria sobrecarregar o fórum Npp aqui, pois trata-se mais de PythonScript do que de Notepad++.

                    Would you mind opening an issue for it here(on github)?
                    I would hate to burden the Npp Forum here, as this is more about PythonScript than Notepad++.

                    1 Reply Last reply Reply Quote 1
                    • Francisco BomfimF Offline
                      Francisco Bomfim
                      last edited by

                      • estou com um arquivo texto grande no NotePad++ e categorizando os assuntos através do Python.
                      • is with a file big text in NotePad++ and classifying the subjects through Python.

                      EkopalypseE 1 Reply Last reply Reply Quote 0
                      • EkopalypseE Offline
                        Ekopalypse @Francisco Bomfim
                        last edited by

                        @Francisco-Bomfim

                        I have opened an issue here. Let us discuss this there.
                        Abri uma questão aqui. Vamos discutir isso lá.

                        1 Reply Last reply Reply Quote 1
                        • Francisco BomfimF Offline
                          Francisco Bomfim
                          last edited by

                          bom dia!
                          saúde!

                          muito, muito obrigado!
                          funcionou perfeitamente!

                          aceite um forte abraço.

                          francisco.bomfim@gmail.com
                          Brazil.RJ.Rio de Janeiro
                          PY1ANA (radioamateur)

                          1 Reply Last reply Reply Quote 1

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors