Select the Current Paragraph

SyntaxEditor for WPF Forum

Posted 14 years ago by cowcow
Version: 10.1.0522

Is there a feature to select the paragraph where the caret is located (i.e.:words separated by one or more than one empty lines) ? next paragraph , previous paragraph etc.

If not, any recommended methods to achieve similar features?

(It's quite complicated and slow to loop through the tokens one by one)


[Modified at 05/18/2010 07:37 AM]

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
No sorry there is nothing to select paragraphs. You can use an ITextSnapshotReader (from the editor.Document.CurrentSnapshot.GetReader method) to interate through text by word, or token, etc. That is the best way to read a snapshot's text and is pretty fast.

Actipro Software Support

Posted 14 years ago by cowcow

[Modified at 05/19/2010 08:26 AM]
The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.