Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
module:slyedit [2019/05/24 20:42] – [SlyEdit configuration file] nightfoxmodule:slyedit [2019/06/04 09:51] – [Spell checker and dictionaries] Included more information about dictionary filenames, including the language name and localizations and use of -supplemental in the filename nightfox
Line 1: Line 1:
 ====== SlyEdit ====== ====== SlyEdit ======
-SlyEdit Message is the second full-featured full screen editor for Synchronet, written by ''[[person:nightfox]]'' in JavaScript.  SlyEdit can run in one of two styles, to mimic the look & feel of IceEdit or DCT Edit, two popular BBS message editors from the 1990s.  The style is specified by a command-line argument.  SlyEdit also supports customization of options via a configuration file and colors via theme files.\\+SlyEdit is the second full-featured full screen editor for Synchronet, written by ''[[person:nightfox]]'' in JavaScript.  SlyEdit can run in one of two styles, to mimic the look & feel of IceEdit or DCT Edit, two popular BBS message editors from the 1990s.  The style is specified by a command-line argument.  SlyEdit also supports customization of options via a configuration file and colors via theme files.\\
 \\ \\
-SlyEdit will recognize the user's terminal size and set up the screen accordingly.  The width of the edit area will always be 80 characters and support up to 79 characters of text; however, an increased terminal size will provide more room for information to be displayed such as the message area, from/to names, etc.  Also, a terminal height greater than the standard 24 or 25 characters will provide a taller edit area, allowing more of the message to be seen on the screen at a time.\\+SlyEdit will recognize the user's terminal size and set up the screen accordingly.\\
 \\ \\
 Thanks go out to all the sysops and users who have reported bugs, made suggestions, and helped test SlyEdit, including the following people: Thanks go out to all the sysops and users who have reported bugs, made suggestions, and helped test SlyEdit, including the following people:
Line 249: Line 249:
 | 1.18                            | 1.31 | | 1.18                            | 1.31 |
  
 +\\
 +===== Spell checker and dictionaries =====
 +Since version 1.64, SlyEdit has a spell check feature.  Spell check can be started by the user with the Ctrl-R hotkey, or by the Edit > Spell Checker option in the DCT-style ESC menu (only available when in DCT mode).  For spell check, SlyEdit will check each word to see if it exists in the configured dictionary/dictionaries, and if not, it will prompt the user for a corrected version of the word.  The sysop can configure one or multiple dictionaries in SlyEdit.cfg with the dictionaryFilenames option.  Dictionary files need to be in the format dictionary_<languageName>.txt, where <languageName> is the name of the language.  Also, ideally, the language names should follow standard language tags, as in "en-us" for English (US), etc.  See these web pages for more information:
 +https://en.wikipedia.org/wiki/Language_localisation
 +http://www.lingoes.net/en/translator/langcode.htm
 +Also, the dictionary filenames will be parsed and the language name will be used in the menu of dictionaries in the user options - The user is able to enable/disable the configured dictionaries for their own use for the spell checker.
 +
 +For the dictionaryFilenames option in SlyEdit.cfg, you can specify a comma-separated list of dictionary filenames.  The dictionary filenames are in the format dictionary_<languageName>.txt, where <language> is the language name.  In this list, the filenames can be in that format, or just <languageName>.txt, or just <languageName> You can leave the setting blank to use all dictionary files that exist on the system.  Language names are meant to be in ISO standard language and localization tags - For example, en-US specifies English with spellings for the US.  Also, for dictionaries with localized spellings, the filenames can have a "-supplemental" at the end of their name before the extension if they only contain words that are unique to a particular region that don't exist for all regions.  Also, dictionary filenames can just contain the language without a localization if they contain words common to all regions.
 +For example:
 +^ Filename                          ^ Description ^
 +| dictionary_en.txt                 | General English dictionary with spellings common to all regions |
 +| dictionary_en-US-supplemental.txt | English word spellings only specific to the US |
 +| dictionary_en-US.txt              | Full English US dictionary |
 +
 +SlyEdit will search for the dictionary files in the following directories, in this order:
 +  - sbbs/mods
 +  - sbbs/ctrl
 +  - SlyEdit's own directory
 +
 +Dictionary files must be sorted in order for word matching to work properly (SlyEdit uses a binary search for quick word matching, which requires the words to be sorted).
  
 ===== See Also ===== ===== See Also =====