I'm facing the same problem and as the original poster, I'm using the latest
4.6.1 (2703) build also.

I set Tab Width and Real Tabs individually in Highlighter Settings for PHP and
XHTML.
I even tried adding manually HLRealTabs=1 and HLTabWidth=4 in Direct Edit for
Multi because I have HTML Multihighlighter (XHTML) enabled for PHP but still the
same problem when editing existing files.
New files seem to be OK.  If I then save that new file, close PSPad completely
and open it again and put a tab before any previously entered tabs, I get spaces
(seems somewhat the opposite of what melonig wrote).

The issues mentioned above by other posters are just a few of the issues I have
with real tabs (IF they're working after possibly going into settings again).

- When you Tab at the end of the line, then write something, the empty space is
filled with spaces, not tabs.

- A rectangular copy/cut/paste containing an unequal number of tab characters
completely messes up the result (sometimes even with loss of data).

- When you start a new line, the cursor correctly indents with the previous;
when you start typing, the indent white space is correctly filled with tabs but
if you would paste something there, the indent white space is filled with
spaces.

- With option Scroll past EOL and EOF active, and you paste something at the end
of an existing line, the cursor positions itself a number of positions after the
currently pasted code.  I think it tries to figure out it's position but forgets
that the leading white space are tabs instead of spaces (for the existing line).
 It's a bit of a pain because I always start typing immediately after pasting
and ...

I know it's a lot in one go and you could ask 'Why use tabs in the first place'
but using spaces quadruples the size of all white space to send to the browser
and I don't use jslint or something.

Whether you decide to solve any of these issues is of course up to you; I still
remain very grateful for all the work you do on this great editor.

Thank you, Jan! :-))

Patrick

-- 
<http://forum.pspad.com/read.php?2,66181,66300>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem