<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to cActionGetText</title><link>https://sourceforge.net/p/synwrite/wiki/cActionGetText/</link><description>Recent changes to cActionGetText</description><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionGetText/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 15 Aug 2013 12:17:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionGetText/feed" rel="self" type="application/rss+xml"/><item><title>cActionGetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionGetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,6 +1,9 @@
 This action can be called by plugin to read text from current editor.

-Also it can be called to read list of search paths. Paths list contains list from SynWrite options + list from current project options. Paths don't end with a backslash (except root drive paths). At the end of any folder path `"*"` char may be appended - this means that user wants to search specified folder with all subfolders. 
+Action can also be used:
+
+* To read list of search paths. Paths list contains list from SynWrite options + list from current project options. Paths don't end with a backslash (except root drive paths). At the end of any folder path `"*"` char may be appended - this means that user wants to search specified folder with all subfolders. 
+* To read list of Favorites items.

 Parameters:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Thu, 15 Aug 2013 12:17:21 -0000</pubDate><guid>https://sourceforge.nete82305509a484d2235512d755ea2cd412859f71e</guid></item><item><title>WikiPage cActionGetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionGetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,4 +1,6 @@
 This action can be called by plugin to read text from current editor.
+
+Also it can be called to read list of search paths. Paths list contains list from SynWrite options + list from current project options. Paths don't end with a backslash (except root drive paths). At the end of any folder path `"*"` char may be appended - this means that user wants to search specified folder with all subfolders.

 Parameters:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Tue, 26 Feb 2013 15:40:25 -0000</pubDate><guid>https://sourceforge.net94105ff4f5e997156fad7d199804479557a3eb60</guid></item><item><title>WikiPage cActionGetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionGetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -2,17 +2,10 @@

 Parameters:

-- **A1** (Integer) - text range id (negative value) or line number (0-based).     
-- **A2** (PWideChar) - points to buffer for text.
+- **A1** (Integer) - [text range id] (negative value) or line number (0-based).     
+- **A2** (PWideChar) - points to text buffer.
 - **A3** (PInteger) - points to variable which holds buffer size, in chars.
 - **A4** - not used.
-
-Possible values of text range id:
-
-- `cSynIdAllText` - entire editor text.
-- `cSynIdSelectedText` - selected text.
-- `cSynIdSelectedLines` - lines affected by selection.
-- `cSynIdCurrentLine` - current line.

 Return value: 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Fri, 21 Dec 2012 12:12:50 -0000</pubDate><guid>https://sourceforge.nete7e710c07385835025add2ca55664e1979671d39</guid></item><item><title>WikiPage cActionGetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionGetText/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This action can be called by plugin to read text from current editor.&lt;/p&gt;
&lt;p&gt;Parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A1&lt;/strong&gt; (Integer) - text range id (negative value) or line number (0-based).   &lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A2&lt;/strong&gt; (PWideChar) - points to buffer for text.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A3&lt;/strong&gt; (PInteger) - points to variable which holds buffer size, in chars.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A4&lt;/strong&gt; - not used.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Possible values of text range id:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cSynIdAllText&lt;/code&gt; - entire editor text.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cSynIdSelectedText&lt;/code&gt; - selected text.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cSynIdSelectedLines&lt;/code&gt; - lines affected by selection.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cSynIdCurrentLine&lt;/code&gt; - current line.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Return value: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If incorrect text range id or line number is passed, return value is &lt;code&gt;cSynError&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If buffer size is insufficient for text, return value is &lt;code&gt;cSynSmallBuffer&lt;/code&gt;, and required buffer size is stored in A3 parameter.&lt;/li&gt;
&lt;li&gt;If buffer size is sufficient, return value is &lt;code&gt;cSynOK&lt;/code&gt;, text is copied to buffer, and text length is stored in A3 parameter.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Thu, 20 Dec 2012 15:50:30 -0000</pubDate><guid>https://sourceforge.net379cae9340b958a99a5bbedb2fbcb452957977c0</guid></item></channel></rss>