Re: tab stops
Carlo Capelli <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CABty9wyfKx7T+A7OvGUpndYoms8tmGZ+sKOPTtwbTiUu63XF+w@mail.gmail.com> |
Your question made me to test an available call in latest Qt console
pqConsole:console_settings([tabStopWidth(W)])
that works on tab *characters* (i.e.
format('~w\t...~n', [...])
It changes tab size on entire output.
I'm afraid that will require a patch to current git hosted code, due to
inter-threading calls issue.
Carlo
2013/11/9 Jonathon Doran <[email protected]>
> Is there a way to set tab stops once -- without doing so in each format/2
> call?
>
> Some output is getting a little wide, and I want to shrink the size of a
> tab. Replacing all of the tabs with spaces is an alternative, but would
> require a lot of work if I decide to change the size again.
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>
-------------- next part --------------
HTML attachment scrubbed and removed