Defining TAB stops at irregular positions in an UDL
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.
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.)
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).