<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : selecting text / setting cursor problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : selecting text / setting cursor problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:00:12 +0000</pubDate>
  <lastBuildDate>Mon, 15 Dec 2008 21:30:08 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=12936</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[selecting text / setting cursor problem : hi all,i&amp;#039;m trying to do do...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12936&amp;PID=43694&amp;title=selecting-text-setting-cursor-problem#43694</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4807">fuxi</a><br /><strong>Subject:</strong> 12936<br /><strong>Posted:</strong> 15 December 2008 at 9:30pm<br /><br />hi all,<br><br>i'm trying to do do the following:<br>- set a text selection in row 12, and from col 20 to 30<br>- set the cursor to the starting position of this selection (row 12, col 30)<br><br>i'm using the following code:<br><br>with editor<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CurrPos.SetPos 12, 20<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .Selection<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Start.SetPos 12, 20<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .End.SetPos 12, 30<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>end with<br><br>it should be right - but the problem is:<br>the cursor appears at the right place but there's no selection :(<br>if i omit .CurrPos.SetPos it works but i also want the cursor to appear at the selection start.<br><br>what could be wrong?<br><br>thanks in advance,<br>fuxi<br>]]>
   </description>
   <pubDate>Mon, 15 Dec 2008 21:30:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12936&amp;PID=43694&amp;title=selecting-text-setting-cursor-problem#43694</guid>
  </item> 
 </channel>
</rss>