Bug with WordWrapColumnIndex and WordWrapMargin

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
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 ]

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Good catch... this is now fixed for the next release.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.