<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to cActionSuggestCompletion</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/</link><description>Recent changes to cActionSuggestCompletion</description><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 12 May 2013 19:43:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/feed" rel="self" type="application/rss+xml"/><item><title>cActionSuggestCompletion modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,15 +1,15 @@
-This action can be called by plugin to suggest user some completion strings for current text. This may be needed by some abbreviation expansion plugins, similar to Zen Coding (which is built-in).
+This action can be called by plugin to suggest user list of auto-completion strings. This may be needed by some abbreviation expansion plugins, similar to Zen Coding.
+
+Suggestions list is Chr(13)-separated list of strings, each string is simply id or "|"-separated list: "id|type|(parameters)".

 Parameters:

-- **A1** (PWideChar) - list of strings, separated by Chr(13), to suggest.
+- **A1** (PWideChar) - suggestions list.
 - **A2** (Integer) - length of text, which will be replaced by suggested text. 
 - **A3** (Bool) - allows to show completion popup window with suggested strings. If False, instant replace will be performed without popup shown, with the first passed string.
-- **A4** - not  used.
+- **A4** - not used.

 Return value: `cSynError` if some parameters are not valid (e.g. strings list is empty), or `cSynOK` otherwise.

-Notes:
-
 Example for A2 parameter: if caret is in position 1:4 after word "wwww", and length parameter is 3, then last 3 "w" chars will be replaced with suggested string (which is chosen by user from popup window if it's enabled).

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Sun, 12 May 2013 19:43:14 -0000</pubDate><guid>https://sourceforge.netcfef08781bef742c06016e16ee7498822b7960b5</guid></item><item><title>WikiPage cActionSuggestCompletion modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -4,10 +4,10 @@
 
 - **A1** (PWideChar) - list of strings, separated by Chr(13), to suggest.
 - **A2** (Integer) - length of text, which will be replaced by suggested text. 
-- **A3** (Bool) - allows to show completion popup window with suggested strings. If False, instant replace will be performed without popup shown.
+- **A3** (Bool) - allows to show completion popup window with suggested strings. If False, instant replace will be performed without popup shown, with the first passed string.
 - **A4** - not  used.
 
-Return value: `cSynError` if some parameters are not  valid, `cSynOK` otherwise.
+Return value: `cSynError` if some parameters are not valid (e.g. strings list is empty), or `cSynOK` otherwise.
 
 Notes:
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Fri, 30 Nov 2012 21:56:01 -0000</pubDate><guid>https://sourceforge.net299cf561bf0639db9e6d17891c62a33c513f7a7f</guid></item><item><title>WikiPage cActionSuggestCompletion modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -3,9 +3,13 @@
 Parameters:
 
 - **A1** (PWideChar) - list of strings, separated by Chr(13), to suggest.
-- **A2** (Integer) - length of text, which will be replaced by suggested text.
-- **A3** (Bool) - allows to show completion popup window: if False, instant replace will be pefformed without popup shown.
+- **A2** (Integer) - length of text, which will be replaced by suggested text. 
+- **A3** (Bool) - allows to show completion popup window with suggested strings. If False, instant replace will be performed without popup shown.
 - **A4** - not  used.
 
 Return value: `cSynError` if some parameters are not  valid, `cSynOK` otherwise.
 
+Notes:
+
+Example for A2 parameter: if caret is in position 1:4 after word "wwww", and length parameter is 3, then last 3 "w" chars will be replaced with suggested string (which is chosen by user from popup window if it's enabled).
+
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Fri, 30 Nov 2012 21:51:20 -0000</pubDate><guid>https://sourceforge.net84034c6320d58cba3255b4b36235ba7dfb9eb1e9</guid></item><item><title>WikiPage cActionSuggestCompletion modified by Alexey T.</title><link>https://sourceforge.net/p/synwrite/wiki/cActionSuggestCompletion/</link><description>This action can be called by plugin to suggest user some completion strings for current text. This may be needed by some abbreviation expansion plugins, similar to Zen Coding (which is built-in).

Parameters:

- **A1** (PWideChar) - list of strings, separated by Chr(13), to suggest.
- **A2** (Integer) - length of text, which will be replaced by suggested text.
- **A3** (Bool) - allows to show completion popup window: if False, instant replace will be pefformed without popup shown.
- **A4** - not  used.

Return value: `cSynError` if some parameters are not  valid, `cSynOK` otherwise.

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey T.</dc:creator><pubDate>Fri, 30 Nov 2012 21:42:55 -0000</pubDate><guid>https://sourceforge.neta537c9fdfc2ac9d160842e126d1101435f9dc312</guid></item></channel></rss>