Change tab length in xpce debugger

I’m using: SWI-Prolog version 8.4.0 for x86_64-linux

I want to change the tab length in SWO-prolog debugger version 2.0.
By default, the tab length is 8 but would like it to be 4 (to match my text editor’s settings).

p.s. I love the XPCE debugger.

You can add this line to xpce’s Defaults file:

emacs_fundamental_mode.tab_width:    4

The simplest way to find this file is by opening an editor, e.g., using ?- emacs. and using the menu Edit/Editor preferences. First time it will copy a version from the installation that contains a lot of useful settings commented.

1 Like

Worked perfectly. Thank you!