Community
    • Login

    Defining TAB stops at irregular positions in an UDL

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 273 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.
    • Dirk MartensD
      Dirk Martens
      last edited by

      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.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Dirk Martens
        last edited by

        @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.)

        CoisesC 1 Reply Last reply Reply Quote 0
        • CoisesC
          Coises @PeterJones
          last edited by

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