TextPad changes file contents without warngin diff problem

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
supernothing
Posts: 3
Joined: Tue Mar 11, 2008 12:13 pm

TextPad changes file contents without warngin diff problem

Post by supernothing »

Hi , anytime I use Textpad to edit source files and then save them textpad alters the contents of most lines making diffs unuseable.
Is there anyway to prevent TextPad changing the contents of the file without telling me?
Specifically it changes whitespace characters etc.
It makes the program unuseable.
Thanks,
B.
supernothing
Posts: 3
Joined: Tue Mar 11, 2008 12:13 pm

Nevermind, fixed it

Post by supernothing »

Changed the behaviour in the document classes for java.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

In Configure | Preferences | Document Classes | <Class> | Syntax:
deselect Strip trailing spaces from lines when saving
and, under Tabulation,
deselect Convert existing tabs to spaces when saving files.

Alternatively, tell TextPad, when it's comparing the files, to Ignore differences due to: Number of spaces or tabs.
supernothing
Posts: 3
Joined: Tue Mar 11, 2008 12:13 pm

Thanks

Post by supernothing »

Hi thanks very much for your reply, that worked fine.
B.
Post Reply