<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to cActionSetText</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>Recent changes to cActionSetText</description><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionSetText/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 07 May 2013 18:49:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionSetText/feed" rel="self" type="application/rss+xml"/><item><title>cActionSetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -7,4 +7,4 @@
 - **A3** (Integer) - buffer size, in chars. 
 - **A4** - not used.

-Return value: `cSynOK` if editor is not read-only and all parameters values are correct, `cSynError` otherwise. Error is returned when a) incorrect text range id or line number is passed, b) zero buffer pointer of negative buffer size is passed.
+Return value: `cSynOK` if all parameter values are correct, `cSynError` otherwise. Error is returned when a) incorrect text range id or line number is passed, b) zero buffer pointer or non-positive buffer size is passed, c) editor is read-only.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Tue, 07 May 2013 18:49:33 -0000</pubDate><guid>https://sourceforge.net42f4d3adecf64060f1253c5a14740e9587fd7cfc</guid></item><item><title>WikiPage cActionSetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -7,9 +7,4 @@
 - **A3** (Integer) - buffer size, in chars. 
 - **A4** - not used.

-Return value: `cSynOK` is all parameters values are correct, `cSynError` otherwise. 
-
-Error is returned when:
-- editor is read-only.
-- incorrect text range id or line number is passed.
-- zero buffer pointer of negative buffer size is passed.
+Return value: `cSynOK` if editor is not read-only and all parameters values are correct, `cSynError` otherwise. Error is returned when a) incorrect text range id or line number is passed, b) zero buffer pointer of negative buffer size is passed.
&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 20:17:12 -0000</pubDate><guid>https://sourceforge.net12816d928034fd485985488552f60ad44820b30a</guid></item><item><title>WikiPage cActionSetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -7,9 +7,9 @@
 - **A3** (Integer) - buffer size, in chars. 
 - **A4** - not used.

-Return value: `cSynOK` is all parameters values are correct, `cSynError` otherwise.
-Error is returned if:
+Return value: `cSynOK` is all parameters values are correct, `cSynError` otherwise. 

+Error is returned when:
 - editor is read-only.
 - incorrect text range id or line number is passed.
 - zero buffer pointer of negative buffer size is passed.
&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 20:15:24 -0000</pubDate><guid>https://sourceforge.net4ca6605b4c2211dbd5c3fe123cede497c261c37a</guid></item><item><title>WikiPage cActionSetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -7,7 +7,9 @@
 - **A3** (Integer) - buffer size, in chars. 
 - **A4** - not used.

-Return value: 
+Return value: `cSynOK` is all parameters values are correct, `cSynError` otherwise.
+Error is returned if:

-- If incorrect text range id or line number is passed, return value is `cSynError`.
-- If editor is read-only, return value is `cSynError`, otherwise `cSynOK`.
+- editor is read-only.
+- incorrect text range id or line number is passed.
+- zero buffer pointer of negative buffer size is passed.
&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 20:13:51 -0000</pubDate><guid>https://sourceforge.net046663837c5953f8b0fad8cedb266c2240ab21cc</guid></item><item><title>WikiPage cActionSetText modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSetText/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This action can be called by plugin to write text to 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) - &lt;a class="alink" href="/p/synwrite/wiki/text%20range%20id/"&gt;[text range id]&lt;/a&gt; (negative value) or line number (0-based).   &lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A2&lt;/strong&gt; (PWideChar) - text buffer.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A3&lt;/strong&gt; (Integer) - 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;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 editor is read-only, return value is &lt;code&gt;cSynError&lt;/code&gt;, otherwise &lt;code&gt;cSynOK&lt;/code&gt;.&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>Fri, 21 Dec 2012 12:13:50 -0000</pubDate><guid>https://sourceforge.netd42e947e214e860d49822f3d480d273ea61b59e3</guid></item></channel></rss>