~ubuntu-branches/ubuntu/natty/bluefish/natty-proposed

« back to all changes in this revision

Viewing changes to manual/en/chapter2.html

  • Committer: Bazaar Package Importer
  • Author(s): Davide Puricelli (evo)
  • Date: 2005-04-23 17:05:18 UTC
  • mto: (1.1.5 upstream) (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050423170518-izh2k25xve7ui1jx
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
2
 
<!-- Preface file -->
3
 
 
4
 
<html>
5
 
 <head>
6
 
  <meta name="generator" content="HTML Tidy, see www.w3.org">
7
 
 
8
 
  <title>Bluefish manual chapter 2: Using Bluefish features</title>
9
 
  <meta name="AUTHOR" content="Jim Batis">
10
 
  <meta name="COPYRIGHT" content="Copyright (C) 2000, Dimitris Batis">
11
 
  <meta name="generator" value="Bluefish 0.6">
12
 
  <link rel="stylesheet" href="../manual.css" type="text/css">
13
 
 </head>
14
 
 
15
 
 <body>
16
 
  <div class="navbox">
17
 
   <a href="chapter1.html">prev</a> | <a href="index.html">contents</a> | <a
18
 
   href="chapter3.html">next</a>
19
 
  </div>
20
 
 
21
 
  <h1>Chapter 2: Using Bluefish features</h1>
22
 
 
23
 
  <p>In the first chapter, we covered the basic concepts of using Bluefish.
24
 
  Though many of the possibilities and usages this program has, not all of
25
 
  them were mentioned, whereas those mentioned weren&#39;t thoroughly
26
 
  explained. Most importantly, you haven&#39;t learnt how to configure the
27
 
  program yet (apart from a few basic stuff that GTK+ itself allows you).</p>
28
 
 
29
 
  <p>The purpose of this chapter is to cover all features of Bluefish in
30
 
  detail, so that you can take full advantage of them. We will explain how you
31
 
  can configure Bluefish (like window appearance, syntax highlighting, fonts,
32
 
  etc.), how to use external programs and view your documents, the thumbnails,
33
 
  and many more features.</p>
34
 
 
35
 
  <a name=preferences><h2>The Preferences window</h2></a>
36
 
  Most of the program&#39;s settings can be adjusted through the Preferences
37
 
  window. To call this window: 
38
 
 
39
 
  <ul type="DISC">
40
 
   <li>Select <code>Options-&gt;Preferences</code>.</li>
41
 
 
42
 
   <li>
43
 
    <table border="0" cellspacing="2">
44
 
     <tr>
45
 
      <td align="LEFT" valign="TOP"><img src="../images/button_config.gif"
46
 
      alt="Configuration"> </td>
47
 
 
48
 
      <td align="LEFT" valign="CENTER">Press the &#39;Configure&#39; button of
49
 
      the main toolbar.</td>
50
 
     </tr>
51
 
    </table>
52
 
   </li>
53
 
  </ul>
54
 
 
55
 
  <p>A window should pop up, with five tabs at the bottom and two buttons.
56
 
  <code>Save &amp; Close</code> saves any changes you have made and saves them
57
 
  to disk. These settings will be re-loaded in the future sessions. In case
58
 
  you&#39;ve changed your mind about the changes you made, press
59
 
  <code>Cancel</code> and the previous settings will be restored.</p>
60
 
 
61
 
  <a name=editor_preferences><h3>Editor Preferences</h3></a>
62
 
 
63
 
  <p align="CENTER"><img src="../images/config_editor.png" width="425" height=
64
 
  "524" border="0" alt="Editor tab"></p>
65
 
 
66
 
  <h4>Default font</h4>
67
 
 
68
 
  <p>In this textbox, you can set the font of the text editing area. Though
69
 
  you can try to write the font manually, it is preferable to click on
70
 
  <code>Font...</code> button. A window pops up in which you can set the font,
71
 
  its style and size. At the bottom, you can preview the font you have
72
 
  selected. The &#39;Filter&#39; tab will help you select the font you want,
73
 
  by selecting the features it should have. &#39;Font Information&#39; shows
74
 
  the info for the selected font. To set the font, press <code>Ok</code>. If
75
 
  you press <code>Apply</code>, the font is set, but this dialog doesn&#39;t
76
 
  disappear, so that you can re-adjust the font selected. Press
77
 
  <code>Cancel</code> if you&#39;ve changed your mind about selecting a
78
 
  different font.</p>
79
 
 
80
 
<div class="note"><b>TIP:</b> Most users prefer to select fixed-width
81
 
    fonts. As you will see, fixed width fonts are better for any code editors,
82
 
    including HTML. It will help you organise your documents better and is
83
 
    highly advised if you&#39;re using &lt;PRE&gt; tag, as you can see how the
84
 
    text will actually appear. <i>Adobe courier</i> is often available and is
85
 
    strongly suggested for usage.</div>
86
 
 
87
 
  <h4>Tab width</h4>
88
 
 
89
 
  <p>This adjusts the width that Tab characters will have. This is measured in
90
 
  compare with empty space characters. So, if you&#39;ve set it to value 4,
91
 
  for example, in a fixed-width font, it will look like there were 4 space
92
 
  characters there.</p>
93
 
 
94
 
  <p>The default tab width is 4.</p>
95
 
 
96
 
  <h4>Word Wrap</h4>
97
 
 
98
 
  <p>You will usually want to use this feature together with &#39;Line
99
 
  Wrap&#39;. If this is checked, then the word typed will be wrapped to the
100
 
  next line if the text reaches the right border of the text editing area
101
 
  (without a line feed character placed).</p>
102
 
 
103
 
  <h4>Line Wrap</h4>
104
 
 
105
 
  <p>If this is checked, then when the text typed reaches the right border of
106
 
  the text editing area, it continues to the next line (without a line feed
107
 
  character).</p>
108
 
 
109
 
<div class="note"><b>NOTICE:</b> A bug in the Gtk Text widget disables the
110
 
    horizontal scrollbar, so disabling word and line wrap will make editing a
111
 
    bit uncomfortable. Just try it out and you will see :-)</div>
112
 
 
113
 
  <p>If you have this feature checked and not &#39;Word Wrap&#39;, then the
114
 
  words may be broken in two lines, whereas if &#39;Word Wrap&#39; is checked
115
 
  the letters stay all together.</p>
116
 
 
117
 
  <h4>Autoindent Code</h4>
118
 
 
119
 
  <p>If checked, the cursor is positioned in the same column after pressing
120
 
  Return as it is in the upper line. If disabled, a Return will always jump to
121
 
  the first column of the new line.</p>
122
 
 
123
 
  <h4>Highlight by default</h4>
124
 
 
125
 
  <p>If checked, when an action, like opening a file is done, the text is
126
 
  hightlighted automaticly, thus you don&#39;t need to select
127
 
  <code>View-&gt;Highlight Syntax</code> yourself. If, however, you uncheck
128
 
  it, then the text won&#39;t be highlighted unless you ask for it.</p>
129
 
 
130
 
  <h4>Update syntax highlighting continuous</h4>
131
 
 
132
 
  <p>If checked, the syntax will be automaticly highlighted as you type the
133
 
  text.</p>
134
 
 
135
 
  <h4>Update full widget instead of the current line</h4>
136
 
 
137
 
  <p>Normally, when text is highlighted in the text editing area, only the
138
 
  line in which the cursor is placed will be highlighted and not the whole
139
 
  text. When pasting multiple lines some lines will not ne highlighted
140
 
  correctly. You could use F5 (default shortcut for <code>View-&gt;refresh
141
 
  highlighting</code>) to refresh. If however you want to check and highlight
142
 
  the whole text each time you edit the document, then check this option.
143
 
  Unfortunately updating the whole widget is slow in the GTK text widget due
144
 
  to a scrolling bug.</p>
145
 
 
146
 
  <h4>Automatic link management</h4>
147
 
 
148
 
  <p>If you enable this option Bluefish will update any links when using
149
 
  &#39;move to&#39; or &#39;save as&#39; functionality. Only links found
150
 
  between double quotes (i.e. &quot;link&quot;) are scanned and updated.</p>
151
 
 
152
 
  <h4>Allow multiple instances of the same file</h4>
153
 
 
154
 
  <p>If you enable this option Bluefish will let you open a file several
155
 
  times. This is useful for having 2 different versions in the editor and
156
 
  checking layout-changes.</p>
157
 
 
158
 
  <a name=html_preferences><h3>HTML Preferences</h3></a>
159
 
 
160
 
  <p align="CENTER"><img src="../images/config_html.png" width="425" height=
161
 
  "524" border="0" alt="HTML tab"></p>
162
 
 
163
 
  <h4>Insert closing...</h4>
164
 
 
165
 
  <p>As you know, all HTML tags usually have to be ended with a &lt;/tag&gt;
166
 
  comment. For example <i>&lt;B&gt;Bold text&lt;/B&gt;</i>. However some tags
167
 
  can be (and usually are) used without an ending tag. Two of them are
168
 
  &lt;LI&gt; and &lt;P&gt;, which don&#39;t really need an ending tag.
169
 
  However, if you want to strictly follow the HTML syntax rules, you might
170
 
  want to insert them.</p>
171
 
 
172
 
  <p>If the boxes are checked, then the ending tags are inserted for
173
 
  &lt;LI&gt; and &lt;P&gt;, else they are omitted.</p>
174
 
 
175
 
  <h4>Insert lowercase HTML tags</h4>
176
 
 
177
 
  <p>By default, when a tag is inserted by Bluefish, it is in uppercase (this
178
 
  is a common designer&#39;s technique in order to distinguish tags from
179
 
  normal text). However, in case you want the tags to be in lowercase, check
180
 
  this box.</p>
181
 
 
182
 
  <p>Note that WML needs the tags to be lowercased, so you should check this,
183
 
  should you want to use WML.</p>
184
 
 
185
 
  <h4>Allow the use of CSS</h4>
186
 
 
187
 
  <p>This enables the support for CSS (Cascading Style-Sheets). CSS can be
188
 
  inserted internal or as external documents.</p>
189
 
 
190
 
  <h4>Allow deprecated Tags</h4>
191
 
 
192
 
  <p>This allows the use of deprecated HTML-Tags. Actually the W3 reccomends
193
 
  using CSS to format your documents, not the old Tags (e.g. &lt;font&gt; or
194
 
  &lt;center&gt;).</p>
195
 
 
196
 
  <h4>Use XHTML Syntax</h4>
197
 
 
198
 
  <p>This makes Bluefish insert all tags according to the XHTML
199
 
  1.0-Specification.</p>
200
 
 
201
 
  <h4>Use an XML-Starting-Line</h4>
202
 
 
203
 
  <p>Inserts a XML-Line in the Head of the Document (usually a standard
204
 
  SGML-Line is inserted).</p>
205
 
 
206
 
  <h4>Allow the Ruby-Tags included in XHTML 1.0</h4>
207
 
 
208
 
  <p>&quot;Ruby-Tags&quot; are tags introduced in XHTML 1.0 that are used esp.
209
 
  in japanese files to insert information thats helps in pronouncing.</p>
210
 
 
211
 
  <h4>Allow new Tags of HTML 4</h4>
212
 
 
213
 
  <p>When clicked, the Tags of HTML 4 instead of those in HTML 3.2 are used
214
 
  (where applicable).</p>
215
 
 
216
 
  <h4>Allow the Use of Frames</h4>
217
 
 
218
 
  <p>Turns on Frame-support in Bluefish when selected.</p>
219
 
 
220
 
  <h4>Require an DOCTYPE on first line of document</h4>
221
 
 
222
 
  <p>Inserts a DOCTYPE-line in newly created documents.</p>
223
 
 
224
 
  <h4>Set the DTD-URL in the DOCTYPE-line</h4>
225
 
 
226
 
  <p>Inserts the DTD-URL into the DOCTYPE-Line.</p>
227
 
 
228
 
  <h4>Allow the use of Internet Explorer proprietary Tags</h4>
229
 
 
230
 
  <h4>Allow the use of Netscape proprietary Tags</h4>
231
 
 
232
 
  <h4>Default charset</h4>
233
 
 
234
 
  <p>This does not have any functionality yet.</p>
235
 
 
236
 
  <h3>Main GUI options</h3>
237
 
 
238
 
  <p align="CENTER"><img src="../images/config_gui.png" width="425" height=
239
 
  "524" border="0" alt="GUI tab"></p>
240
 
 
241
 
  <h4>Notebook tab font</h4>
242
 
 
243
 
  <p>This works exactly as in the <a href="#set-font">Editor tab</a>, only
244
 
  that it sets the font of the tabs in the editing area (i.e. the tabs that
245
 
  contain the names of the files opened). It is advised that you keep it to a
246
 
  small simple font.</p>
247
 
 
248
 
  <h4>Font is a fontset</h4>
249
 
 
250
 
  <p>Select this if your selected font is a fontset, i.e. it has a number of
251
 
  different charsets and is therefor suitable for drawing international
252
 
  text.</p>
253
 
 
254
 
  <h4>Notebook position</h4>
255
 
 
256
 
  <p>By default, the tabs are in top of the text area. If, however, you find
257
 
  them more comfortable in another position, you can set them at the
258
 
  <i>bottom, right and left</i> of the text area.</p>
259
 
 
260
 
  <p>To select another position, press the button on the right and a list of
261
 
  the positions will appear, from which you can select the prefered position.
262
 
  Note that you can also change the position with the Up and Down cursors.</p>
263
 
 
264
 
  <h4>Initial width &amp; height</h4>
265
 
 
266
 
  <p>These two variables set the width and height of the main window.</p>
267
 
 
268
 
  <p>To adjust the width &amp; height to your preferences, you can either
269
 
  write the new values or use the up/down button at the right, which will
270
 
  increase and decrease the value by 5. Furthermore, if you press the Up and
271
 
  Down cursors, the value will also be increased or decreased by 5.</p>
272
 
 
273
 
  <p>The default values are 600 for width and 400 for height.</p>
274
 
 
275
 
  <h4>File list initial size</h4>
276
 
 
277
 
  <p>Here you can set the minimum size of the file-list in the left. Standard
278
 
  is 150. You can manually change the width of the filelist when working.</p>
279
 
 
280
 
  <h4>Items in open recent menu</h4>
281
 
 
282
 
  <p>The number of the last opened files that will appear under File -&gt;
283
 
  Open recent.</p>
284
 
 
285
 
  <h4>Items in directory history</h4>
286
 
 
287
 
  <p>The number of the last used directories that will appear above the
288
 
  directory-list.</p>
289
 
 
290
 
  <h4>Filter file browser default</h4>
291
 
 
292
 
  <p>When selected the file-filter function of the file-browser is enabled by
293
 
  default.</p>
294
 
 
295
 
  <h4>Backup file before saving</h4>
296
 
 
297
 
  <p>When selected, backup files are created upon file-save.</p>
298
 
 
299
 
  <h4>Backup file suffix</h4>
300
 
 
301
 
  <p>This suffix is appended to the filename when creating backup-files. It is
302
 
  set to &acute;~&acute; by default.</p>
303
 
 
304
 
  <a name=files_images><h3>Files and images</h3></a>
305
 
 
306
 
  <p align="CENTER"><img src="../images/config_img.png" width="676" height="558" alt="image dialog tab"></p>
307
 
 
308
 
  <h4>Thumbnail type</h4>
309
 
 
310
 
  <h4>Thumbnail extension string</h4>
311
 
<h4>Allow multiple instances of the same file</h4>
312
 
<p>If enabled you can open the same file multiple times. This 
313
 
can lead to unexpected results. If disabled (default) bluefish
314
 
will switch to the already opened document when you open a
315
 
file multiple times.</p>
316
 
<h4>Backup file before saving</h4>
317
 
<h4>Backup file suffix</h4>
318
 
<h4>Backup file by copy instead of rename</h4>
319
 
<p>usually bluefish renames the original file, and opens the 
320
 
original filename as a new file. if you're working with links 
321
 
this doesn't work (the link then is broken). Choose this option if
322
 
you're working with links.</p>
323
 
<h4>Backup failure action</h4>
324
 
<p>'ask', 'save' or 'abort'. If the backup fails (you have for 
325
 
example bo write permissions in the directory, but you do have them 
326
 
on the file itself), still continue, abort the save or ask at the very
327
 
moment. </p>
328
 
<h4>Open commandline files in already running bluefish</h4>
329
 
<p>If you select this option (default) you can add 'bluefish %s'
330
 
as default program to filemanagers like gmc, and every file will
331
 
be opened in the same bluefish window.</p>
332
 
 
333
 
<h4>File filters</h4>
334
 
 
335
 
<a name=external><h3>External</h3></a>
336
 
 
337
 
  <p align="CENTER"><img src="../images/config_external.png" alt=
338
 
  "External tab"></p>
339
 
 
340
 
  <h4>Browser command</h4>
341
 
 
342
 
  <p>This refers to the <code>View-&gt;View in Netscape</code> function. With
343
 
  this function, you can view your document in Netscape, so as to preview how
344
 
  it looks like so far.</p>
345
 
 
346
 
  <p>Normally, you don&#39;t have to change this, but in case the default
347
 
  setting doesn&#39;t work, you can write the command and parameters, just
348
 
  like if you were calling the program from bash. The only thing you must note
349
 
  is to put <code>%s</code> at the place where the filename would normally be
350
 
  placed (Bluefish will replace that with the filename automaticly).</p>
351
 
 
352
 
  <p>The default setting is: <code>netscape -remote OpenUrl\(%s\)</code></p>
353
 
 
354
 
  <h4>Weblint command</h4>
355
 
 
356
 
  <p>The commandline with which weblint is invoked. Weblint is a html
357
 
  syntax-checker.</p>
358
 
 
359
 
  <h4>ispell command</h4>
360
 
 
361
 
  <p>The commandline with which ispell is invoked. ispell is a spell-checking
362
 
  system.</p>
363
 
 
364
 
  <h4>default language</h4>
365
 
 
366
 
  <p>The default language for ispell to check against.</p>
367
 
 
368
 
  <h4>Accept compound words, Specify additional characters that might form a
369
 
  word, Personal dictionary, Input encoding</h4>
370
 
 
371
 
  <p>These are special switches for ispell to change its behaviour. For
372
 
  further information look at ispells manpage.</p>
373
 
 
374
 
  <div class="navbox">
375
 
   <a href="chapter1.html">prev</a> | <a href="index.html">contents</a> | <a
376
 
   href="chapter3.html">next</a>
377
 
  </div>
378
 
 </body>
379
 
</html>
380