• Login
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
    Gábor László Horváth
    last edited by Mar 13, 2019, 9:42 AM

    How to change line distances/spacings?

    M D 2 Replies Last reply Mar 13, 2019, 11:09 AM Reply Quote 0
    • M
      Meta Chuh moderator @Gábor László Horváth
      last edited by Meta Chuh Mar 13, 2019, 11:19 AM Mar 13, 2019, 11:09 AM

      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
      • E
        Ekopalypse
        last edited by Mar 13, 2019, 11:48 AM

        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
        • D
          dinkumoil @Gábor László Horváth
          last edited by dinkumoil Sep 15, 2019, 12:19 PM Sep 14, 2019, 4:55 PM

          @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