Community
    • Login

    How to change line distances/spacings?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    hlg1948
    4 Posts 4 Posters 3.2k 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.
    • Gábor László HorváthG
      Gábor László Horváth
      last edited by

      How to change line distances/spacings?

      Meta ChuhM dinkumoilD 2 Replies Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @Gábor László Horváth
        last edited by Meta Chuh

        welcome to the notepad++ community, @Gábor-László-Horváth

        to change the line spacings (the distance between a line and the next line after a line feed):
        please go to settings > style configurator > global styles > brace highlight style as seen at the screenshot below, and change the font size to anything you like, e.g. 12 or higher. (default: 10)

        you will see an immediate change at any opened file that is below your style configurator settings window.
        note: you can not set any smaller spacing than your default font permits, so if you have courier new 10, any brace size below 10 will not work.

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

          Just in case, someone using an scripting plugin would use the implementation
          of SCI_SETEXTRAASCENT and SCI_SETEXTRADESCENT. With PythonScript plugin
          this would be something like

          editor1.setExtraAscent(2)
          editor1.setExtraDescent(2)
          editor2.setExtraAscent(2)
          editor2.setExtraDescent(2)
          
          1 Reply Last reply Reply Quote 3
          • dinkumoilD
            dinkumoil @Gábor László Horváth
            last edited by dinkumoil

            @Gábor-László-Horváth

            I wrote a plugin that can be used to configure an extra spacing above and beneath lines. Its name is ExtSettings. You can download it >>> here <<<. It will also be available soon via PluginsAdmin.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors