@@ -27,88 +27,119 @@ <h1>
2727 SWAG Import Wizard
2828 </ h1 >
2929 < p >
30- This wizard is used to enable you import snippets from the
30+ This wizard is used to enable you to import snippets from the
3131 < a href ="about_swag.htm "> SWAG Database</ a > into your code snippets
3232 database. The wizard is accessed from the < em > Snippets | Import
3333 Snippets From SWAG</ em > menu option.
3434 </ p >
3535 < h2 >
36- First page
36+ Page 1: < em > Import snippets from SWAG </ em >
3737 </ h2 >
3838 < p >
39- This page simply gives an overview of how to use the wizard. Click the
40- < em > Next</ em > button to display the < em > Select required snippets</ em >
41- page.
39+ This page gives an overview of how to use the wizard.
40+ </ p >
41+ < p >
42+ The wizard requires that you have a suitable copy of SWAG stored on your
43+ computer. If you haven't yet got it then you need to download it before
44+ continuing. The instructions shown in the box on this page of the wizard
45+ explain how to do this.
46+ </ p >
47+ < p >
48+ When you are ready, click the < em > Next</ em > button.
49+ </ p >
50+ < h2 >
51+ Page 2: < em > Select SWAG database download folder</ em >
52+ </ h2 >
53+ < p >
54+ On this page you need to provide the full path to the folder where you
55+ downloaded the SWAG database. Enter the path in the edit box. You can
56+ click the ellipsis button to the right of the edit box to display a
57+ standard browse for folder dialogue box and choose the folder from there.
58+ The chosen folder will be entered into the edit box for you.
59+ </ p >
60+ < p >
61+ Once you have entered the path click < em > Next</ em > . The data in the folder
62+ will then be read and, if valid, the next page of the wizard will be
63+ displayed. A progress bar may be displayed if the process of reading the
64+ data takes some time. If the data is invalid an error message will be
65+ displayed and the page will not change.
4266 </ p >
4367 < h2 >
44- " Select required snippets" page
68+ Page 3: < em > Select required snippets</ em >
4569 </ h2 >
4670 < p >
47- When this page is first displayed it downloads information about the
48- available categories from the SWAG database. A list of categories is then
49- displayed in the left hand, < em > SWAG categories </ em > , list box.
71+ When this page is first displayed it displays all the categories of
72+ snippets available in the SWAG database in the < em > SWAG categories</ em >
73+ list box.
5074 </ p >
5175 < p >
5276 Choose a category in the list and click the < em > Show Snippets In
5377 Category</ em > button to display a list of its snippets in the right
54- hand list box. The first time you choose a category the wizard will
55- download the snippet list from the SWAG database. Note that
56- double-clicking a category has the same effect as clicking the < em > Show
57- Snippets In Category</ em > button.
78+ hand list box. Alternatively just double-click the category name. The
79+ first time you choose a category the wizard will read the list of snippets
80+ from the database and a progress bar may be displayed while this is done.
5881 </ p >
5982 < p >
6083 Select any snippets you want to import by ticking the check box next to
6184 the snippet's name. If you want to preview the snippet before deciding
62- whether to import it highlight the snippet and click the < em > Preview
63- Selected Snippet</ em > button. The snippet will then be downloaded (if
64- necessary) and displayed in a dialogue box. Note that double-clicking a
65- snippet has the same effect as clicking the < em > Preview Selected
66- Snippet</ em > button.
85+ whether to import it, highlight the snippet and click the < em > Preview
86+ Selected Snippet</ em > button. Alternatively just double click the snippet
87+ name. The snippet will then be read from the database (if necessary) and
88+ displayed in a dialogue box.
6789 </ p >
6890 < p >
6991 Repeat this process for further categories if you wish. When you are
7092 ready to import your chosen snippets click the < em > Next</ em > button to
71- display the < em > Ready to import</ em > page.
93+ display the next page. Note that you must select at least one snippet in
94+ order to move on.
95+ </ p >
96+ < p >
97+ < strong class ="warning "> Warning:</ strong > Do not select too many snippets
98+ to be imported at one time because the import process is not very
99+ efficient and can take a long time.
72100 </ p >
73101 < h2 >
74- " Ready to import" page
102+ Page 4: < em > Ready to import</ em >
75103 </ h2 >
76104 < p >
77105 This page lists all the snippets you have selected for import along with
78106 the unique ID (i.e. snippet name) that will be assigned to it after
79- import. Note that snippets may be downloaded from the SWAG database when
80- the page is displayed.
107+ import. Note that some snippets may need to be retrieved from the SWAG
108+ database when the page is displayed and a progress bar may be displayed
109+ while this happens.
81110 </ p >
82111 < p >
83112 You should review your selection. If you want to make any changes use the
84- < em > Back</ em > button to go back < em > Select required snippets</ em > page.
113+ < em > Back</ em > button to go back to the previous page and de-select any
114+ unwanted snippets or select any snippets you may have missed.
85115 </ p >
86116 < p >
87- When you are ready to import click the < em > Import</ em > button. Once
88- < em > Import</ em > has been clicked the wizard will perform the import. A
89- dialogue box will be displayed while the import proceeds. When the import
90- has finished the < em > Import complete</ em > page.
117+ When you are ready to proceed, click the < em > Import</ em > button. Once
118+ < em > Import</ em > has been clicked the wizard will perform the import
119+ – there is no going back. A dialogue box will be displayed while the
120+ import proceeds. When the import has finished the final page of the wizard
121+ will be displayed.
91122 </ p >
92123 < h2 >
93- Import complete
124+ Page 5: < em > Import complete</ em >
94125 </ h2 >
95126 < p >
96127 This page simply confirms the import has completed. You should note that
97- the snippets will have been imported into a special category named
98- "SWAG Imports" by default .
128+ all the snippets will have been imported into the same special category,
129+ the name of which will be displayed .
99130 </ p >
100131 < p >
101- Click the < em > Finish</ em > to close the wizard.
132+ Click the < em > Finish</ em > button to close the wizard.
102133 </ p >
103134 < p >
104135 The imported snippets are fully editable like any other user defined
105136 snippet.
106137 </ p >
107138 < p >
108139 < strong > Note:</ strong > < em > CodeSnip</ em > does not track snippets imported
109- from SWAG, so if you import same snippet more than once it will be
140+ from SWAG, so if you import the same snippet more than once it will be
110141 duplicated in your local database – it will not overwrite the
111- original.
142+ original. You will not be warned about such duplications.
112143 </ p >
113144 </ body >
114145</ html >
0 commit comments