diff options
author | McCabe Maxsted | 2010-09-15 03:33:05 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-15 03:33:05 -0700 |
commit | d14cf874b7b09ed9d845d7176f0c406a2e79f203 (patch) | |
tree | 2bdfdcf2aee411407789ba4726a8a2b155864129 /linden/indra/llui/lltexteditor.h | |
parent | Updated CannotBuyLandMaturity notification with info on how to fix the problem (diff) | |
download | meta-impy-d14cf874b7b09ed9d845d7176f0c406a2e79f203.zip meta-impy-d14cf874b7b09ed9d845d7176f0c406a2e79f203.tar.gz meta-impy-d14cf874b7b09ed9d845d7176f0c406a2e79f203.tar.bz2 meta-impy-d14cf874b7b09ed9d845d7176f0c406a2e79f203.tar.xz |
First commit in the long overhaul of making spell check consistent and workable. Contains code cleanup and a change in logic. Spell check is now only available on text/line editors that have spell_check set to true in xml
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/lltexteditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/lltexteditor.h b/linden/indra/llui/lltexteditor.h index 6b372d7..c5c3af8 100644 --- a/linden/indra/llui/lltexteditor.h +++ b/linden/indra/llui/lltexteditor.h | |||
@@ -229,7 +229,7 @@ public: | |||
229 | void setThumbColor( const LLColor4& color ); | 229 | void setThumbColor( const LLColor4& color ); |
230 | void setHighlightColor( const LLColor4& color ); | 230 | void setHighlightColor( const LLColor4& color ); |
231 | void setShadowColor( const LLColor4& color ); | 231 | void setShadowColor( const LLColor4& color ); |
232 | void setOverRideAndShowMisspellings(BOOL b){ mOverRideAndShowMisspellings =b;} | 232 | void setShowMisspellings(BOOL b) { mShowMisspellings = b; } |
233 | 233 | ||
234 | // Hacky methods to make it into a word-wrapping, potentially scrolling, | 234 | // Hacky methods to make it into a word-wrapping, potentially scrolling, |
235 | // read-only text box. | 235 | // read-only text box. |
@@ -526,7 +526,7 @@ private: | |||
526 | S32 spellStart; | 526 | S32 spellStart; |
527 | S32 spellEnd; | 527 | S32 spellEnd; |
528 | std::vector<S32> misspellLocations; // where all the mispelled words are | 528 | std::vector<S32> misspellLocations; // where all the mispelled words are |
529 | BOOL mOverRideAndShowMisspellings; | 529 | BOOL mShowMisspellings; // set in xui as "spell_check". Default value for a field |
530 | 530 | ||
531 | S32 mMaxTextByteLength; // Maximum length mText is allowed to be in bytes | 531 | S32 mMaxTextByteLength; // Maximum length mText is allowed to be in bytes |
532 | 532 | ||