How do I find text and set the cursor position |
Post Reply |
Author | |
jads
Groupie Joined: 26 August 2008 Status: Offline Points: 32 |
Post Options
Thanks(0)
Posted: 12 June 2009 at 5:08am |
Is it possible to search for text in the syntaxedit control from the current cursor position without using the findreplace dialog (ie programatically) and set the cursor position to the start of the searched for text. There doesnt seem to be a find or search method.
I could search the syntaxedit.text string or select text from the current location to the end of the file and search that, but then there is no method to convert a character position to a SyntaxEditTextPosition
|
|
Product: Xtreme SuitePro (ActiveX) version 13.4.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 |
|
jads
Groupie Joined: 26 August 2008 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
It looks like the only way is to search the rowtext property, row by row.
For a large file the text property takes too long to load
|
|
Product: Xtreme SuitePro (ActiveX) version 13.4.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |