Skip to content

Commit 3cf2d4b

Browse files
committed
Bump version to v0.7.0
1 parent 122c800 commit 3cf2d4b

20 files changed

+458
-70
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ Scripts can also register functions to be called when certain events occur, such
2828
The full API documentation can be found [here](http://dail8859.github.io/LuaScript/). Also be sure to check out the [examples](/examples/) directory.
2929

3030
## Development
31-
The code has been developed using MSVC 2013. To compile the code:
31+
The code has been developed using MSVC 2015. To compile the code:
3232

3333
1. Open the `LuaScript.sln` file
34-
2. Select the `Win32` platform (x64 is currently experimental)
35-
3. Press `F7` and that's it!
34+
1. Press `F7` and that's it!
3635

3736
For convenience, MSVC automatically copies the DLL into the Notepad++ plugin directory.
3837

docs/classes/Editor.html

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -86,14 +86,16 @@ <h2>Classes</h2>
8686
</ul>
8787
<h2>Topics</h2>
8888
<ul class="">
89-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
89+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
90+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
9091
</ul>
9192
<h2>Examples</h2>
9293
<ul class="nowrap">
9394
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
9495
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
9596
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
9697
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
98+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
9799
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
98100
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
99101
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -126,7 +128,7 @@ <h2><a href="#Helper_Methods">Helper Methods </a></h2>
126128
<table class="function_list">
127129
<tr>
128130
<td class="name" nowrap><a href="#Editor:textrange">Editor:textrange(startPos, endPos)</a></td>
129-
<td class="summary">Gets the text within a range</td>
131+
<td class="summary">Gets the text within a range.</td>
130132
</tr>
131133
<tr>
132134
<td class="name" nowrap><a href="#Editor:findtext">Editor:findtext(search[, flags[, startPos[, endPos]]])</a></td>
@@ -142,7 +144,11 @@ <h2><a href="#Helper_Methods">Helper Methods </a></h2>
142144
</tr>
143145
<tr>
144146
<td class="name" nowrap><a href="#Editor:remove">Editor:remove(startPos, endPos)</a></td>
145-
<td class="summary">Removes the text in the range</td>
147+
<td class="summary">Removes the text in the range.</td>
148+
</tr>
149+
<tr>
150+
<td class="name" nowrap><a href="#Editor:set_text_direction">Editor:set_text_direction(direction)</a></td>
151+
<td class="summary">Sets the text direction.</td>
146152
</tr>
147153
</table>
148154
<h2><a href="#Text_retrieval_and_modification">Text retrieval and modification </a></h2>
@@ -2312,7 +2318,7 @@ <h2 class="section-header "><a name="Helper_Methods"></a>Helper Methods </h2>
23122318
<strong>Editor:textrange(startPos, endPos)</strong>
23132319
</dt>
23142320
<dd>
2315-
Gets the text within a range
2321+
Gets the text within a range.
23162322

23172323

23182324
<h3>Parameters:</h3>
@@ -2428,9 +2434,9 @@ <h3>See also:</h3>
24282434

24292435
<h3>Usage:</h3>
24302436
<ul>
2431-
<pre class="example"> <span class="keyword">for</span> m <span class="keyword">in</span> editor:match(text, flags) <span class="keyword">do</span>
2432-
...
2433-
<span class="keyword">end</span></pre>
2437+
<pre class="example"><span class="keyword">for</span> m <span class="keyword">in</span> editor:match(text, flags) <span class="keyword">do</span>
2438+
...
2439+
<span class="keyword">end</span></pre>
24342440
</ul>
24352441

24362442
</dd>
@@ -2462,7 +2468,7 @@ <h3>Parameters:</h3>
24622468
<strong>Editor:remove(startPos, endPos)</strong>
24632469
</dt>
24642470
<dd>
2465-
Removes the text in the range
2471+
Removes the text in the range.
24662472

24672473

24682474
<h3>Parameters:</h3>
@@ -2485,6 +2491,27 @@ <h3>Parameters:</h3>
24852491

24862492

24872493

2494+
</dd>
2495+
<dt>
2496+
<a name = "Editor:set_text_direction"></a>
2497+
<strong>Editor:set_text_direction(direction)</strong>
2498+
</dt>
2499+
<dd>
2500+
Sets the text direction.
2501+
2502+
2503+
<h3>Parameters:</h3>
2504+
<ul>
2505+
<li><span class="parameter">direction</span>
2506+
<span class="types"><span class="type">string</span></span>
2507+
either "RTL" or "LTR"
2508+
</li>
2509+
</ul>
2510+
2511+
2512+
2513+
2514+
24882515
</dd>
24892516
</dl>
24902517
<h2 class="section-header "><a name="Text_retrieval_and_modification"></a>Text retrieval and modification </h2>
@@ -15339,7 +15366,7 @@ <h3>See also:</h3>
1533915366
</div> <!-- id="content" -->
1534015367
</div> <!-- id="main" -->
1534115368
<div id="about">
15342-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
15369+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
1534315370
</div> <!-- id="about" -->
1534415371
</div> <!-- id="container" -->
1534515372
<footer>

docs/classes/Match.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -46,14 +46,16 @@ <h2>Classes</h2>
4646
</ul>
4747
<h2>Topics</h2>
4848
<ul class="">
49-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
49+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
50+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
5051
</ul>
5152
<h2>Examples</h2>
5253
<ul class="nowrap">
5354
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
5455
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5556
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
5657
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
58+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
5759
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5860
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
5961
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -79,9 +81,10 @@ <h3>See also:</h3>
7981
</ul>
8082
<h3>Usage:</h3>
8183
<ul>
82-
<pre class="example"> for m in editor:match(&quot;teh&quot;) do
83-
m:replace(&quot;the&quot;)
84-
end</pre>
84+
<pre class="example">for m in editor:match(&quot;teh&quot;) do
85+
m:replace(&quot;the&quot;)
86+
end
87+
</pre>
8588
</ul>
8689

8790

@@ -240,7 +243,7 @@ <h2 class="section-header "><a name="Metamethods"></a>Metamethods</h2>
240243
</div> <!-- id="content" -->
241244
</div> <!-- id="main" -->
242245
<div id="about">
243-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
246+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
244247
</div> <!-- id="about" -->
245248
</div> <!-- id="container" -->
246249
<footer>

docs/classes/Notepad.html

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -46,14 +46,16 @@ <h2>Classes</h2>
4646
</ul>
4747
<h2>Topics</h2>
4848
<ul class="">
49-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
49+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
50+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
5051
</ul>
5152
<h2>Examples</h2>
5253
<ul class="nowrap">
5354
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
5455
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5556
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
5657
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
58+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
5759
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5860
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
5961
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -155,6 +157,10 @@ <h2><a href="#Methods">Methods</a></h2>
155157
<td class="summary">Gets the file name of the current document.</td>
156158
</tr>
157159
<tr>
160+
<td class="name" nowrap><a href="#Notepad:GetFileNameAtCursor">Notepad:GetFileNameAtCursor()</a></td>
161+
<td class="summary">Gets the file name at the cursor position.</td>
162+
</tr>
163+
<tr>
158164
<td class="name" nowrap><a href="#Notepad:GetFullCurrentPath">Notepad:GetFullCurrentPath()</a></td>
159165
<td class="summary">Gets the full path of the current document.</td>
160166
</tr>
@@ -435,11 +441,11 @@ <h3>Parameters:</h3>
435441
<ul>
436442
<li><span class="parameter">event</span>
437443
<span class="types"><span class="type">string</span></span>
438-
name of the desired event
444+
name of the desired event (can also be an array of strings)
439445
</li>
440446
<li><span class="parameter">callback</span>
441447
<span class="types"><span class="type">function</span></span>
442-
function to call when the event is triggered
448+
function to call when the event(s) is triggered
443449
</li>
444450
</ul>
445451

@@ -830,6 +836,26 @@ <h3>Returns:</h3>
830836

831837

832838

839+
</dd>
840+
<dt>
841+
<a name = "Notepad:GetFileNameAtCursor"></a>
842+
<strong>Notepad:GetFileNameAtCursor()</strong>
843+
</dt>
844+
<dd>
845+
Gets the file name at the cursor position.
846+
847+
848+
849+
<h3>Returns:</h3>
850+
<ol>
851+
852+
<span class="types"><span class="type">string</span></span>
853+
file path
854+
</ol>
855+
856+
857+
858+
833859
</dd>
834860
<dt>
835861
<a name = "Notepad:GetFullCurrentPath"></a>
@@ -1979,7 +2005,7 @@ <h3>Usage:</h3>
19792005
</div> <!-- id="content" -->
19802006
</div> <!-- id="main" -->
19812007
<div id="about">
1982-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
2008+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
19832009
</div> <!-- id="about" -->
19842010
</div> <!-- id="container" -->
19852011
<footer>

docs/classes/Styler.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -45,14 +45,16 @@ <h2>Classes</h2>
4545
</ul>
4646
<h2>Topics</h2>
4747
<ul class="">
48-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
48+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
49+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
4950
</ul>
5051
<h2>Examples</h2>
5152
<ul class="nowrap">
5253
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
5354
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5455
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
5556
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
57+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
5658
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5759
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
5860
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -831,7 +833,7 @@ <h3>Parameters:</h3>
831833
</div> <!-- id="content" -->
832834
</div> <!-- id="main" -->
833835
<div id="about">
834-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
836+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
835837
</div> <!-- id="about" -->
836838
</div> <!-- id="container" -->
837839
<footer>

docs/examples/bookmark.lua.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,6 +37,7 @@ <h2>Examples</h2>
3737
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
3838
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
3939
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
40+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
4041
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
4142
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
4243
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -52,7 +53,8 @@ <h2>Classes</h2>
5253
</ul>
5354
<h2>Topics</h2>
5455
<ul class="">
55-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
56+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
57+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
5658
</ul>
5759

5860
</div>
@@ -76,7 +78,7 @@ <h2>bookmark.lua</h2>
7678
</div> <!-- id="content" -->
7779
</div> <!-- id="main" -->
7880
<div id="about">
79-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
81+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
8082
</div> <!-- id="about" -->
8183
</div> <!-- id="container" -->
8284
<footer>

docs/examples/highlightoccurrences.lua.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div id="navigation">
2525
<br/>
26-
<h1>LuaScript <sub>v0.6.0</sub></h1>
26+
<h1>LuaScript <sub>v0.7.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,6 +37,7 @@ <h2>Examples</h2>
3737
<li><strong>highlightoccurrences.lua</strong></li>
3838
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
3939
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
40+
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
4041
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
4142
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
4243
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
@@ -52,7 +53,8 @@ <h2>Classes</h2>
5253
</ul>
5354
<h2>Topics</h2>
5455
<ul class="">
55-
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
56+
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
57+
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
5658
</ul>
5759

5860
</div>
@@ -121,7 +123,7 @@ <h2>highlightoccurrences.lua</h2>
121123
</div> <!-- id="content" -->
122124
</div> <!-- id="main" -->
123125
<div id="about">
124-
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
126+
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
125127
</div> <!-- id="about" -->
126128
</div> <!-- id="container" -->
127129
<footer>

0 commit comments

Comments
 (0)