JVCL Help:IJvSpellChecker.OnCanIgnore

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Event handler that is called for every word in the text.


Pascal

 TJvSpellCheckIgnoreEvent = procedure (Sender: TObject; const Value: string; var CanIgnore: Boolean) ofobject;
propertyOnCanIgnore: TJvSpellCheckIgnoreEvent;


Parameters

Parameters Description
CanIgnore Set to true to skip the word, false to handle it normally.
Value The string to check.
Sender The IJvSpellChecker implementer


Description

Write a handler for the OnCanIgnore event when you need to set up ignores for words that can't be easily captured using a simple table driven spell checker. For example, to ignore upper case words, you could write an event handler that compares the current word with its upper cased variant and set CanIgnore to true if they match.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page