|
Editing text files for Meizu display
I use uedit-32 to clean up files to view in Meizu..
Here's what I do.
1. I copy all of the files I want to clean up to one directory.
( I keep the originals as is because I sometimes want to use them with other programs.)
2. I click on "file" "open".
navigate to the directory where the files are located,
hold "control" down and click on the files I want to clean up,
then click on "open".
This will open the files and display a line of tabs with the file names.
The text of one of the files is displayed.
3. I hold down the left mouse button,
and mark a phrase I want to get rid of.
4. I click on "search "replace"
and paste the phrase into "find what"
5. I type a space in "replace with"
6. I mark "All open files" and click "replace all"
a few times.
7. I do this for all of the phrases I want to get rid of.
8. I then click on the other tab, and this displays the
text in the other files, and I get rid of other unwanted phrases,
using steps 3-7
At this point, I have added a lot of unwanted spaces
alomg with any unwanted spaces that might be in the original files,
so I click on "search" "replace" and enter two spaces in "find what"
and one space in "replace with" and click "replace all" a few times.
This gets rid of multiple spaces.
9. As I may still have some leading spaces,
I click on "search" "replace" and enter ^p and a space in "find what"
and a space in "replace with" and click "replace all" a few times.
This gets rid of any leading spaces.
10. As I may still have some blank line
I click on "search" "replace" and enter ^p^p and a space in "find what"
and ^p in "replace with" and click "replace all" a few times.
This gets rid of the blank lines.
Note that you have to have the "Regular Expression" box checked
in the replace function.
11. I take a look at each of the files and see if they are
okay, and if they are, I save them.
You can use the powerful macro feature of uedit-32
to automate some of your editing.
This techniue should work with any editor
that support multiple open files,
and "Regular Expressions".
To get rid of annoying page numbers like "123."
I enter %1???, %2???, etc. in step 9 above.
You can delete any "bak" files,
and even the edited files
after you upload them to your Meizu.
|