Document.ReplaceAll stopped working
Posted: 27 Nov 2025 06:30
Hi,
The Pascal script line `Document.ReplaceAll('t', 'X', False, False, False, True);` should replace "t" for "X". In RJ TextEd 15.0 or 15.2, it does nothing.
The problem also occurs in C++ scripts: `Document.ReplaceAll("t", "X", False, False, False, True);` fails.
In a related matter, the C++ script line `Document.NewlineFormat = "Unix" ;` works, but the equivalent Pascal line `Document.NewlineFormat = 'Unix' ;` fails.
Thanks for a great program and best regards
The Pascal script line `Document.ReplaceAll('t', 'X', False, False, False, True);` should replace "t" for "X". In RJ TextEd 15.0 or 15.2, it does nothing.
The problem also occurs in C++ scripts: `Document.ReplaceAll("t", "X", False, False, False, True);` fails.
In a related matter, the C++ script line `Document.NewlineFormat = "Unix" ;` works, but the equivalent Pascal line `Document.NewlineFormat = 'Unix' ;` fails.
Thanks for a great program and best regards