You are here: PSPad forum > English discussion forum > Use tab character

Use tab character

#1 Use tab character

Posted by: idefix2 | Date: 2020-10-01 14:33 | IP: IP Logged

Is it possible to insert a tab character in a file when the tab key is pressed, instead of spaces?

Options: Reply | Quote | Up ^


#2 Re: Use tab character

Posted by: idefix2 | Date: 2020-10-01 14:47 | IP: IP Logged

I have tried to activate the feature through
Program settings - tab instead of spaces
but pspad still inserts spaces when I press tab.

Options: Reply | Quote | Up ^


#3 Re: Use tab character

Posted by: pspad | Date: 2020-10-01 17:23 | IP: IP Logged

In the program settings / Editor 2
check Real tabs, Smart tabs must be unchecked
This is a general settings

Spaces/Tabs is possible to set on the highlighter level for each highlighter in the menu settings / Highlighter settings / specification tab.
Checkbox there has 3 states - checked, unchecked / Greyed (accepts global settings)

Highlighter settings has higer priority than program settings

Options: Reply | Quote | Up ^


#4 Re: Use tab character

Posted by: idefix2 | Date: 2020-10-17 15:52 | IP: IP Logged

I am sorry, it does not seem to work. Here are my settings for ini-files. Still, PSPad inserts spaces when I press tab. According to your answer, the Highlighter settings should override the global settings.

image

Edited 1 time(s). Last edit at 2020-10-17 15:54 by idefix2.

Options: Reply | Quote | Up ^


#5 Re: Use tab character

Posted by: pspad | Date: 2020-10-17 16:07 | IP: IP Logged

Check setting / editor 2
Can you send me screenshot?

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR