Transpose Lines - Wrapped text

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Daniel Wadenhof - Software Developer, ABB Robotics
Version: 4.0.0237
Platform: .NET 2.0
Environment: Windows XP (32-bit)
(Using the sample project...)

There is a bug in the TranposeLines Command. An exception i thrown when transposing wrapped lines (having enabled WordWrap==Word at least)

1. Launch sample project.
2. Luanch SDI Editor Application.
3. In Properties Window, change WordWrap to "Word".
4. Resize the window to make sure some lines are wrapped.
5. Press and hold Alt+Ctrl+Shift+T (for Transpose Lines).

System.IndexOutOfRangeException was unhandled
Message="Index was outside the bounds of the array."


Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Good find... it should have been using document lines instead of display lines for line transposition. This is now fixed for the next maintenance release.

Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.