• Login
Community
  • Login

Help removing folder margin style lines.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
indentmarginsborderindentation
4 Posts 2 Posters 2.5k Views
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.
  • S
    Saksham Gupta
    last edited by Jul 30, 2017, 4:43 PM

    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!

    C 1 Reply Last reply Jul 30, 2017, 5:59 PM Reply Quote 0
    • C
      Claudia Frank @Saksham Gupta
      last edited by Jul 30, 2017, 5:59 PM

      @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
      • S
        Saksham Gupta
        last edited by Jul 30, 2017, 7:12 PM

        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

        C 1 Reply Last reply Jul 30, 2017, 8:09 PM Reply Quote 0
        • C
          Claudia Frank @Saksham Gupta
          last edited by Jul 30, 2017, 8:09 PM

          @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
          1 out of 4
          • First post
            1/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors