Spell checker: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Fal7i (talk | contribs)
m thanks Olivier, work in progres
Fal7i (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 4: Line 4:
|lang=en
|lang=en
|rev=2.0.0
|rev=2.0.0
|st=d
|st=u
|Title=3. Spell checker
|Title=Spell checker
|prev=Man 2 ch07s02
|prev=Hidden features
|Subtitle=Chapter VII. More than a Text Editor
|Subtitle=More than a Text Editor
|next=Man 2 ch07s04
|next=Programming and Markup Languages Function Reference
}}
}}
BlueFish 1 and 2 spell checker doesn't take into account the language written in the file header nor the "lang" attribute of tags.
For the spell checker to work properly,
*<tt>Document > Spell check</tt> must be set.
*you have to select the page language manually. To do so, '''right-click''' in the text you want to check . If your page is in several languages, repeat the operation for each language.


[[File:Man2_spell_checker.png|none|frame|Bluefish Spell Checker]]
[[File:Man2_spell_checker.png|none|frame|Bluefish Spell Checker]]


<del>Bluefish uses [http://aspell.sourceforge.net/ aspell] for spell checking. If the aspell libraries are not installed on your system, then the spell checking feature will not be available. At the aspell web site you can also download dictionaries for many different languages.</del>
The language code used in the list is a simplified version of the [http://en.wikipedia.org/wiki/IETF_language_tag IETF language tag], mostly defined in the technical document [http://tools.ietf.org/html/rfc5646#section-2.1 RFC 5 646], except that, in BlueFish spell checker, the hyphen has been replaced by an underscore. The first 2 or 3 small letters stand for the language, while the capital letters after the underscore stand for the region. For instance "en_GB" means "British English". The list of codes is known as the "[http://www.iana.org/assignments/language-subtag-registry language subtag registry]".


Bluefish uses enchant, so most spell dictionaries should be supported. I
Bluefish uses enchant as spell checking backend, so most spell dictionaries should be supported. I think aspell dictionaries are preferred for enchant. Use your package manager to install the dictionaries.
think aspell dictionaries are preferred for enchant. Use your package
manager to install the dictionaries.


The 'string' textstyle is automatically checked. You can disable that in
The 'string' textstyle is automatically checked. You can disable that in the preferences.
the preferences.


Spell checking will be improved in 2.0.1:
<small>Spell checking before 2.0.1 missed the "Ignore spelling" and "Add to dictionnary" functions.</small>
:Ignore spelling
:Add to dictionnary
 
 
<del>
To launch the spell checker, select Document → Check Spelling... or click on the ABC button on the main tool bar. The spell checker will launch in a separate window, which you can keep open as you edit files.
 
You have the option to check a whole document or just a selection, to use a personal or a session dictionary, and to choose the language depending on the installed dictionaries.
 
Click on Spell Check to start spell checking the current document.
 
You may want to set a default dictionary by first choosing the language in the Language pop up menu, then clicking on Set default.
 
Key words for different languages can be ignored using filters. Currently, the only filter is for HTML. If you want to help write more filters, join the [[Man 2 pr01s02#2.4. Contact Us|bluefish-contact mailing list]].
</del>




{{Man2bottom
{{Man2bottom
|prev=Man 2 ch07s02
|prev=Hidden features
|up=Man 2 ch07
|up=Indenting
|next=Man 2 ch07s04
|next=Programming and Markup Languages Function Reference
|prevname= 2.&nbsp;Auto tag closing
|prevname=Hidden features
|nextname= 4.&nbsp;Function reference
|nextname=Programming and Markup Languages Function Reference
}}
}}

Latest revision as of 08:33, 8 July 2011


BlueFish 1 and 2 spell checker doesn't take into account the language written in the file header nor the "lang" attribute of tags. For the spell checker to work properly,

  • Document > Spell check must be set.
  • you have to select the page language manually. To do so, right-click in the text you want to check . If your page is in several languages, repeat the operation for each language.
Bluefish Spell Checker

The language code used in the list is a simplified version of the IETF language tag, mostly defined in the technical document RFC 5 646, except that, in BlueFish spell checker, the hyphen has been replaced by an underscore. The first 2 or 3 small letters stand for the language, while the capital letters after the underscore stand for the region. For instance "en_GB" means "British English". The list of codes is known as the "language subtag registry".

Bluefish uses enchant as spell checking backend, so most spell dictionaries should be supported. I think aspell dictionaries are preferred for enchant. Use your package manager to install the dictionaries.

The 'string' textstyle is automatically checked. You can disable that in the preferences.

Spell checking before 2.0.1 missed the "Ignore spelling" and "Add to dictionnary" functions.