vinsworldcom / nppQuickText

Notepad++ plugin for text snippet substitution.
GNU General Public License v2.0
21 stars 4 forks source link

Use tab size from notepad settings #28

Closed anjemor closed 2 years ago

anjemor commented 2 years ago

A tab size of 2 cm/9 characters makes substitution text unreadable and forces the user to scroll - inconvenient.

vinsworldcom commented 2 years ago

Please provide more context. Are you saying you try to use a tab in the substitution text and Notepad++ is not converting it?

anjemor commented 2 years ago

No. It's about the substitution text field in the Quicktext settings dialog.

vinsworldcom commented 2 years ago

Not sure that's possible - the Substitution Text field is not a Scintilla edit control, it's a simple Windows Edit Text dialog control. I can't adjust tab sizes with SCI_ commands. If you have a way, feel free to submit a PR.

anjemor commented 2 years ago

Ok, after digging into this, it seems like Windows doesn't support any easy way to do this without using richedit. So the best way for me is not to use tabs.