Note that there are some explanatory texts on larger screens.

plurals
  1. PORich Edit Delphi Controls that Support RegEx Searches
    primarykey
    data
    text
    <p>I would greatly appreciate some help on anyone that has experience in working with Rich Edit controls in Delphi that support Regular Expression searches.</p> <p>I've toyed around with RichEdit.dll V3 based controls only to find that MS's ITextSelection.FindText <a href="http://msdn.microsoft.com/en-us/library/bb787783(VS.85).aspx" rel="nofollow noreferrer">implementation</a> uses some MS Mickey Mouse variant of regular expressions (i.e. ^p for paragraph) and so on.</p> <p>Regular expression searches against TRichEdit1.text return mismatched SelStart locations due to hidden RTF formatting.</p> <p>I guess this rules out any RichEdit.dll based controls/components unless someone could suggest a workaround?</p> <p>I've also had a look at <a href="http://www.dreamcompany.com/richeditor.html" rel="nofollow noreferrer">Dream Rich Editor</a> but am worried that this is longer maintained (as of 2005). Otherwise, this looks ideal but cannot find any contact information to ask what ReGex syntax is supported (i.e. PCRE?)</p> <p>Another option was <a href="http://www.profgrid.com/dhtmledit.html" rel="nofollow noreferrer">ProfHTMLEdit</a> but that chocked on the 2MB HTML file I tested it against. Editing was also non responsive on large files. Shame, as the control looked promising.</p> <p>Yet another component was <a href="http://www.trichview.com/resources/actions/" rel="nofollow noreferrer">TRichView</a> but sadly that does not appear to support searching using Regular Expressions.</p> <p>Simply put, my requirement is a Delphi 7 control that allow simple editing (i.e. bold, italic, selection alignments) and most importantly, the ability the search using Regular Expressions (preferably PCRE.. but not necessarily). Not too fussed what the underlying storage mechanism (rtf, html, xyz) is.</p> <p>Any help or pointers/hints/tips greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload