• Login
Community
  • Login

Defining TAB stops at irregular positions in an UDL

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 291 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.
  • D
    Dirk Martens
    last edited by Jan 13, 2024, 2:15 PM

    I have a UDL and want to set up TAB stops at positions 4, 12, 25 and then at every subsequent 5. Can this be done? If so, where do I define them. Thank you.

    P 1 Reply Last reply Jan 13, 2024, 4:29 PM Reply Quote 0
    • P
      PeterJones @Dirk Martens
      last edited by Jan 13, 2024, 4:29 PM

      @Dirk-Martens ,

      No, on two counts. First, because individual UDLs cannot have separate TAB settings (they all just use Notepad++'s “default” tab setting for tab-vs-space and positions-per-tab). Second, because Notepad++ doesn’t support unevent tab spacing natively (I am not sure how the elastic tabstops handles the uneven spacing… but because that plugin can handle it, there is probably a way for another plugin to handle it; but I don’t know of any plugin that would allow you to set hard tabstops for a UDL.)

      C 1 Reply Last reply Jan 13, 2024, 5:20 PM Reply Quote 0
      • C
        Coises @PeterJones
        last edited by Jan 13, 2024, 5:20 PM

        @PeterJones said in Defining TAB stops at irregular positions in an UDL:

        I am not sure how the elastic tabstops handles the uneven spacing…

        SCI_ADDTABSTOP — I believe this was added to Scintilla following work and lobbying by Nick Gravgaard, who originally proposed elastic tabstops .

        Support is bare. The stops must be added to each line independently, they are not remembered when switching tabs (and so must be reestablished when the tab is activated again), and adding them is slow. Print doesn’t get them right (I think it fails to account for the difference between pixels on the screen and pixels on the printer).

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