Posted 20 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC

It appears that SyntaxEditor is "one behind" when updating the WordWrapMargin position when changes are made to WordWrapColumnIndex. To see behavior, follow these steps in Sample Application
1) Launch Sample App
2) Change 'WordWrap' property to 'Character'
3) Change 'WordWrapColumnIndex' property to '20' (should be okay here)
4) Change 'WordWrapColumnIndex' property to '30' (display updates but WordWrapMargin doesn't move... still at '21' characters)
5) Change 'WordWrapColumnIndex' property to '10' (WordWrapMargin is now at '31' characters from the previous setting)
6) Change 'WordWrapColumnIndex' property to '-1' (Yikes!... margin is gone but still wraps at 11 characters)
[ 01-07-2005: Message edited by: Boyd ]
1) Launch Sample App
2) Change 'WordWrap' property to 'Character'
3) Change 'WordWrapColumnIndex' property to '20' (should be okay here)
4) Change 'WordWrapColumnIndex' property to '30' (display updates but WordWrapMargin doesn't move... still at '21' characters)
5) Change 'WordWrapColumnIndex' property to '10' (WordWrapMargin is now at '31' characters from the previous setting)
6) Change 'WordWrapColumnIndex' property to '-1' (Yikes!... margin is gone but still wraps at 11 characters)
[ 01-07-2005: Message edited by: Boyd ]