Community
    • Login

    Defining TAB stops at irregular positions in an UDL

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 612 Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors