The Folder and file types selection
Choice of the Command lines
1. The File List View
1.a File downloading List View
You can also download your site, or any site for which you want to show up a hyphenation demo; a copy will be set into a default (custom) folder on your drive, with the URI as the start address. The progress bar and status for each file is shown until complete (colored in this web page), thereafter every file will be tagged into the progress column if hyphenated already. On download completed, the list of the local files will be made directly accessible, auto-updating the reference path; any file of known type among the default extensions list will be checked, so that you can click the List selected files only to exclude images and other files not to be edited. Downloading a whole web site, the primary host references only will be followed, according to the |SubDirectory| button's check status; outside links will be discarded, besides any file that you want to prevent downloading by the command line filters.
2. Search String in files and Replace
The example into the image allows by itself to encode the first bytes of any mail address of a whole site in a format escaping certain robots; of course, the |<A HREF="| could be encoded even discouraging the most stubborn, for not to say the address (these strings can be searched and found by the hyphenator-Pro). Note that all Find / Replace and other dialogs with string input are expressly built with resizable windows (and text boxes) in length, to aid the user entering long lines without any loss of the visual control.
3. Search files by String
4. Search String in files and Listing
Stroking a key into the View List will reach and highlight the next file name with that initial (Upper or lower), while the |FindFNames| button to the footer opens a dialog that let us find into the List View file Names containing a string (press Ctrl key for all Case match).
The selection of files according to their content can be started by the || command from the popup menu, that opens a Find /Replace dialog: its options let you begin searching Up, or Down from one checked file, or through the whole current file list, or between the default selection, if any.
When the (|Listing|) option is enabled, all the occurrences of every searched string will be listed into the Log's frame, preceeded by the byte position number in the format §123:string; highlight it and click Ctrl+J to access the file, with the caret positioned over the string that was selected into the list. This makes very easy to identify and reach words to be updated, wherever into a whole site (see image below). To get it endowed with the best performance, a further option was provided that allow the user to set how many preceding and following words are to be displayed to aid focusing the location of every string found; e.g §123:four words before the string and four words after.
The camera icon (fig. 2) introduces two special, meaningful HTML options for the encoded words detection, as described below, that can be joined as well.

If you are looking for the word " commonly", that may exist into a document in the hyphenated format: "com-mon-ly", (or any, independently by the hyphenation rule) with this option it can be recognized, the file checked and, when the |Listing| option is enabled, displayed into the Log's frame as a pointer to its line into the document, where you can immediately Jump by the Ctrl-J command.
|
The main Console consist in four main areas:
- a header, with 4 flexible and resizable Tool Bars with combo and option buttons;
- a footer, with various direct command buttons, in that the can perform actions on files and sites without opening the Watch-Editor;
- a left frame where files are listed, to be selected and handled in various modes;
- a right side with two frames: the upper, very slender but resizable, shows the explored paths; the lower is a Log editor: many task are [optionally] reported there and this area is interactive, therefore it can be used, or its content recycled, either in Plain text mode or for various editing purposes needing elementary Rich Edit functions: Bullets, text Alignment as well as Indentation, Font/Color text change with style and weight, Underline and Strike Through, that may be useful for notes on jobs done already, but that you want to keep in sight, since the welcome page can be customized to be reloaded on startup.
The Files to work on.
Whether receiving a line of parameters from a preliminary command, or some direct clicks from the user, the first task for the main program is to walk the selected directory (with subdirectories, if the option .(1) is enabled), loading all those file_names matching specified types, grouped in a custom list of extensions.(2).
The File Search path
The Folder icon to the upper-left corner of the Console.(3) opens a Dialog for the selection of a Path. Two buttons: |subDirectory| and |auto.Backup| refer to the found files and their state will be associated to the selected path, which will be stored for the iterative use. Ctrl-click to open starting from the indexed stored path.
The |subDirectory| tells the program to search all files in the subdirectories of the selected path.
The |auto.Backup| creates a backup copy every first time a selected file is being changed.
.. is stored to be reused.
Since every new path is stored into the initialization file, until a (custom) max. of 32 lines, the list of the used paths is made available from a combo box to the lower right of the Folder icon .(4). A special pick allows to directly list the directory on change of the path-line, or add to the text box patterns with wildcards plus file date filters, both for files to choose and/or to discard.
Note that this, like all the edit combo boxes, is extendible to allow reading and writing into the most visible length.
To do that put the cursor over the empty area to the right of the toolbar .(1), hold the mouse button and drag; or click to its left to maximize to the window.
The File List view and Sort.
All the files found, no matter their origin, are gathered and made accessible into the ListView frame, with the columns: Date, full FileName, Size, Time and relative Path (|subDirs| checked) or absolute (external project loaded or dragged); then main Folder, that is the root address of the project, is visible in the upper right frame.
From the View List frame, all files can be filtered (by Initial or string) and selected and sorted in many modes: Ascending/Descending, right-aligned fType or Reversed fname.ext, checked and highlighted apart, in order to hyphenate/un-hyphenate or quickly handle them in two possible ways:
directly on disk, or into tabbed Rich Edit frames, powered by advanced tools.
By one side, the selected files may be loaded then all together for to be watched and edited and browsed and studied as to the font effects and / or window's size in various modes (see the next page);
on the other hand that list of files, or a saved selection of them, can be hyphenated or un-hyphenated without opening the Editor Window: the two buttons |Hyphenate|, |Un-hyphen| to the bottom of the Console directly run these tasks, always on the active choice of files. You may browse any file too by the |Browse| button, that works on the first checked file, or the highlighted one if this option is switched (List View popup menu).
Downloading a web site
As for any file search, filters can generally (4) select into a linear sequence specific file types or patterns (i.e. wildcards) simply delimited by a space, and exclude specific types or patterns delimited by the "[" (square bracket) character. When the |LogReport| button is checked, parsed files - as well as other actions' results - are reported into the Log frame (red=source / blue= saved); a bullet points out every detected link to outer sites.

Projects and List selections.
The manipulation of selected groups of files is quite important for the fast handling of a site or a project. For this reason the View List frame is endowed of a double criterion for the file selection and a popup menu with many options to handle them.
- At first, every row has its checkbox: this check is 'fixed', and will admit every direct operation on files; any checked-box list can be saved, to be loaded later.
- The second selection mode is set highlighting lines, to be normally used to watch files into the Editor; the last loaded files selection is restored as default on startup, so that the same files can be easily edited by one button touch.
No change in either modes affects the other, so the special interaction of this double feature leads from a simple to powerful projects manipulation at a time: switching between modes, any selection either by checkbox or highlight, can be transformed and transferred in many ways from one side to the other, copying, pasting, adding, subtracting, mirroring and finally saving and loading so that, when the startup complies with an already set command_line, this one can take an exclusive list of files to be auto-loaded or checked. The more, like a cherry on the cake, each action on a type of active selection (check / highlight) can be done clipping (or filtering] its range according to the opposite selection area, thus delimiting or filtering the actions to be taken on the current list, thus providing the greater flexibility in planning various tasks on large files collections.
The powerful strings Search, List and Replace.
Besides the normal options, enabled by the dialog buttons, strings may be generally searched in documents and replaced with some very special add on:
-
any string can include more than one paragraph, with their Line Feeds; if loaded into the Find / Replace dialog from any highlighted text selection, the CR LF will be handled by the procedure; to enter into one single line by the keyboard, the CR LF will be replaced by the "/@" symbol (or other customizable).
- any string can be defined with wildcards by single characters: this is an ex^^ple, that will match the word example, as well as the ^^am^^^ will do (details).
Since these options can be combined both to the Find and Replace functions, with the choice of matching or preserving the upper / lower case, their application range widens.
One more aid: search for encoded words
Due to our job, strings to be searched for updates could result hyphenated into a document, making very uneasy to find them out; it is provided then to identify them as normal, whatever their syllabication might be:
- To the Find side, two special buttons let any string be searched both in its normal and hyphenated format, as well as in any HTML encoding character Entity format. The 1st mode through the option || can help to separate ||, and to search those, or all files (|| option) for a word, syllabified or not.
The 2nd independently allows the search of a word existing both in plain format and with HTML entities representation; i.e. the German word "Gebäude" (Building) can evenly be identified in the Gebäude or Gebäude notation.
Before introducing a further combination, let's add that all files within the list may be searched and gathered according to their content; this feature, that can take advantage from the options above, evenly applies to the [global] |Search / Replace| function from the List View popup menu, as well as to the Find / Replace internal dialog, as it can be directly executed on disk or driven to be confirmed (|Replace This|) , or simply watched step by step (|Replace All.V.|) into the view-editor (details there).
Hereafter the best: the elementary creation of a batch text file that contains:
- the string (expression1) to find out;
- the string (expression2) that will replace the previous expression1, according to all the options modes above;
- an empty line, as a separator from the next pair of parameters: yes, the stack can be as long as needed and every pair of strings will be processed as required, for each file, if direct on disk, or for all the loaded files, when called to be opened into the View / Editor.
To address to a batch file enter the prefix "FILE:" followed by the path\filename itself, like in the figure.
To aid recycling the pairs of the Find and Replace strings it is possible to save and load the stack of data from-to the combo list of the dialog: click its tool bar Icon and select the command in the popup menu.
| |