Zur Startseite

JRSpellChecker

Zur Homepage

UserDefWordBreak(WordBreakChar As String, WordBreak as Boolean) As Boolean

Function:

You can set any ASCII char to a word breaking character.

This is helpful, if you have inside your text formatting chars like <B> for bold and so on. Normally JRSpell will see <B>Hello as one word and marks it as false

If you set
JRSpell1.UserDefWordBreak "<",
True
JRSpell1.UserDefWordBreak ">",
True

JRSpell will see B as a Word and Hello as a word.

       

ico_syntax   Syntax:

JRSpell1.UserDefWordBreak "<", True

         

ico_weitere Return value:


True if the WordBreak char is set
False if the WordBreak char is not set
Note! You can not set one of the following chars as WordBreak char   "." "-"

fires no event.

Example:

    JRSpell1.UserDefWordBreak "<", True
    JRSpell1.UserDefWordBreak ">",
    True
    JRSpell1.UserDefWordBreak "#",
    True