mjrpes:
--------------------------------------------------------------------------------
That's not totally reliable though.  Will 'real tab', it will only use tabs if
that's what was used on the previous line.  If you used spaces on the previous
line, you'll get spaces when you tab.  I find that there are sections in my code
where I've inadvertently used spaces for tabs and I have to go back later and
clean it up.

I wanted to see if there is a way to always use the tab character on tab press.
--------------------------------------------------------------------------------


Not sure, what the problem is, as I couldn't replicate the described behaviour -
with real tabs setting I get a tab character every time I press the tab key.
You seem to refer to autoindent option, which indeed copies the leading
whitespace of the current line to the next line after pressing "enter".

Also make sure, there aren't any autoindent scripts interfering with tabing etc.
(I think, there were some similar problems e.g. with some versions of CIndent).

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

Odpovedet emailem