TurboPack / SynEdit

SynEdit is a syntax highlighting edit control, not based on the Windows common controls.
216 stars 72 forks source link

TSynSpellCheck.AttributesChecked is always null #215

Closed DGH2112 closed 2 years ago

DGH2112 commented 2 years ago

Firstly, I'm using RAD Studio 11.1 just in case this is a cause.

I've been looking at the new spell checking component and noticed it spell checks everything by default. Looking at the properties it would seem AttributesChecked could limit the check but at design time the IDE will not allow you to edit this property as it is nil (Cannot assign a nil to a TRichEditStrings). Check at run time, this property is also nil. So I set up a TStringList and pointed the AttributesChecked property at the string list and I get AVs when starting the application.

I'm I using this wrong? I could not see from the demo how to use this property to limit what is spell checked.

regards Dave.