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.
TextPad changes file contents without warngin diff problem
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
supernothing
- Posts: 3
- Joined: Tue Mar 11, 2008 12:13 pm
-
supernothing
- Posts: 3
- Joined: Tue Mar 11, 2008 12:13 pm
Nevermind, fixed it
Changed the behaviour in the document classes for java.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
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.
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
Hi thanks very much for your reply, that worked fine.
B.
B.