I've added an ability to use the regex substitutions in the replacement as long as the insertion of special characters \n \r \t That means, if, for an example, you would need to add a new line after a different strings you would search for, you would not need to put the search string in the "replace" dialog's field. Instead, a regex substitution $0\n could be used. That, of course, works only when the RegEx checkbox is on However, I did not understand your exercises with "1+1=2". Please give some...
keep text file line endings as-is and play along with them
thank you
Thank you for testing. I chose not to support the old Mac types. Instead I've added an option to override the CR presence found during the loading, so the user can now load a Unix file and save as Windows or do the opposite. Here is an apk for testing: https://sourceforge.net/projects/ghostcommander/files/Betas/Ghost%20Commander%201.64.2b4.apk/download
Thank you for suggestion. It's been implemented as follows: If a file contains a CR (even a single one), all LFs would be replaced with CRLF during the file saving. Please give a try: https://sourceforge.net/projects/ghostcommander/files/Betas/Ghost%20Commander%201.64.2b3.apk/download