Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Help removing folder margin style lines.

    Help wanted · · · – – – · · ·
    indent margins border indentation
    2
    4
    2289
    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.
    • Saksham Gupta
      Saksham Gupta last edited by

      Hello guys, can someone help me how to remove the lines which come when we fold a function?
      image attached for clarification.
      image

      ty for the help!

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Saksham Gupta last edited by

        @Saksham-Gupta

        If you use python or lua script or nppexec do something like (SCI_SETFOLDFLAGS(int flags))
        e.g. python script

        editor.setFoldFlags(0)
        

        on startup of npp.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Saksham Gupta
          Saksham Gupta last edited by

          thanks for the reply, unfortunately, I just started programming in c++, so, if you could elaborate on where to write the above method, I’d be grateful.
          thanks,
          saksham

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Saksham Gupta last edited by

            @Saksham-Gupta

            I’m not aware of any plugin which supports c++ script execution.
            So you either have to write your own little plugin which executes
            SCI_SETFOLDFLAGS(0) when it receives the NPP_READY notification
            or you install one of the mentioned plugins and call the respective function.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors