Skip to content

Commit

Permalink
Bump version to v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 committed Apr 21, 2017
1 parent 122c800 commit 3cf2d4b
Show file tree
Hide file tree
Showing 20 changed files with 458 additions and 70 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ Scripts can also register functions to be called when certain events occur, such
The full API documentation can be found [here](http://dail8859.github.io/LuaScript/). Also be sure to check out the [examples](/examples/) directory.

## Development
The code has been developed using MSVC 2013. To compile the code:
The code has been developed using MSVC 2015. To compile the code:

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

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

Expand Down
47 changes: 37 additions & 10 deletions docs/classes/Editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down Expand Up @@ -86,14 +86,16 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>
<h2>Examples</h2>
<ul class="nowrap">
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand Down Expand Up @@ -126,7 +128,7 @@ <h2><a href="#Helper_Methods">Helper Methods </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Editor:textrange">Editor:textrange(startPos, endPos)</a></td>
<td class="summary">Gets the text within a range</td>
<td class="summary">Gets the text within a range.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Editor:findtext">Editor:findtext(search[, flags[, startPos[, endPos]]])</a></td>
Expand All @@ -142,7 +144,11 @@ <h2><a href="#Helper_Methods">Helper Methods </a></h2>
</tr>
<tr>
<td class="name" nowrap><a href="#Editor:remove">Editor:remove(startPos, endPos)</a></td>
<td class="summary">Removes the text in the range</td>
<td class="summary">Removes the text in the range.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Editor:set_text_direction">Editor:set_text_direction(direction)</a></td>
<td class="summary">Sets the text direction.</td>
</tr>
</table>
<h2><a href="#Text_retrieval_and_modification">Text retrieval and modification </a></h2>
Expand Down Expand Up @@ -2312,7 +2318,7 @@ <h2 class="section-header "><a name="Helper_Methods"></a>Helper Methods </h2>
<strong>Editor:textrange(startPos, endPos)</strong>
</dt>
<dd>
Gets the text within a range
Gets the text within a range.


<h3>Parameters:</h3>
Expand Down Expand Up @@ -2428,9 +2434,9 @@ <h3>See also:</h3>

<h3>Usage:</h3>
<ul>
<pre class="example"> <span class="keyword">for</span> m <span class="keyword">in</span> editor:match(text, flags) <span class="keyword">do</span>
...
<span class="keyword">end</span></pre>
<pre class="example"><span class="keyword">for</span> m <span class="keyword">in</span> editor:match(text, flags) <span class="keyword">do</span>
...
<span class="keyword">end</span></pre>
</ul>

</dd>
Expand Down Expand Up @@ -2462,7 +2468,7 @@ <h3>Parameters:</h3>
<strong>Editor:remove(startPos, endPos)</strong>
</dt>
<dd>
Removes the text in the range
Removes the text in the range.


<h3>Parameters:</h3>
Expand All @@ -2485,6 +2491,27 @@ <h3>Parameters:</h3>



</dd>
<dt>
<a name = "Editor:set_text_direction"></a>
<strong>Editor:set_text_direction(direction)</strong>
</dt>
<dd>
Sets the text direction.


<h3>Parameters:</h3>
<ul>
<li><span class="parameter">direction</span>
<span class="types"><span class="type">string</span></span>
either "RTL" or "LTR"
</li>
</ul>





</dd>
</dl>
<h2 class="section-header "><a name="Text_retrieval_and_modification"></a>Text retrieval and modification </h2>
Expand Down Expand Up @@ -15339,7 +15366,7 @@ <h3>See also:</h3>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
15 changes: 9 additions & 6 deletions docs/classes/Match.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand All @@ -46,14 +46,16 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>
<h2>Examples</h2>
<ul class="nowrap">
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand All @@ -79,9 +81,10 @@ <h3>See also:</h3>
</ul>
<h3>Usage:</h3>
<ul>
<pre class="example"> for m in editor:match(&quot;teh&quot;) do
m:replace(&quot;the&quot;)
end</pre>
<pre class="example">for m in editor:match(&quot;teh&quot;) do
m:replace(&quot;the&quot;)
end
</pre>
</ul>


Expand Down Expand Up @@ -240,7 +243,7 @@ <h2 class="section-header "><a name="Metamethods"></a>Metamethods</h2>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
36 changes: 31 additions & 5 deletions docs/classes/Notepad.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand All @@ -46,14 +46,16 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>
<h2>Examples</h2>
<ul class="nowrap">
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand Down Expand Up @@ -155,6 +157,10 @@ <h2><a href="#Methods">Methods</a></h2>
<td class="summary">Gets the file name of the current document.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Notepad:GetFileNameAtCursor">Notepad:GetFileNameAtCursor()</a></td>
<td class="summary">Gets the file name at the cursor position.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Notepad:GetFullCurrentPath">Notepad:GetFullCurrentPath()</a></td>
<td class="summary">Gets the full path of the current document.</td>
</tr>
Expand Down Expand Up @@ -435,11 +441,11 @@ <h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
<span class="types"><span class="type">string</span></span>
name of the desired event
name of the desired event (can also be an array of strings)
</li>
<li><span class="parameter">callback</span>
<span class="types"><span class="type">function</span></span>
function to call when the event is triggered
function to call when the event(s) is triggered
</li>
</ul>

Expand Down Expand Up @@ -830,6 +836,26 @@ <h3>Returns:</h3>



</dd>
<dt>
<a name = "Notepad:GetFileNameAtCursor"></a>
<strong>Notepad:GetFileNameAtCursor()</strong>
</dt>
<dd>
Gets the file name at the cursor position.



<h3>Returns:</h3>
<ol>

<span class="types"><span class="type">string</span></span>
file path
</ol>




</dd>
<dt>
<a name = "Notepad:GetFullCurrentPath"></a>
Expand Down Expand Up @@ -1979,7 +2005,7 @@ <h3>Usage:</h3>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
8 changes: 5 additions & 3 deletions docs/classes/Styler.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand All @@ -45,14 +45,16 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>
<h2>Examples</h2>
<ul class="nowrap">
<li><a href="../examples/bookmark.lua.html">bookmark.lua</a></li>
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand Down Expand Up @@ -831,7 +833,7 @@ <h3>Parameters:</h3>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
8 changes: 5 additions & 3 deletions docs/examples/bookmark.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand All @@ -37,6 +37,7 @@ <h2>Examples</h2>
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand All @@ -52,7 +53,8 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>

</div>
Expand All @@ -76,7 +78,7 @@ <h2>bookmark.lua</h2>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
8 changes: 5 additions & 3 deletions docs/examples/highlightoccurrences.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div id="navigation">
<br/>
<h1>LuaScript <sub>v0.6.0</sub></h1>
<h1>LuaScript <sub>v0.7.0</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand All @@ -37,6 +37,7 @@ <h2>Examples</h2>
<li><strong>highlightoccurrences.lua</strong></li>
<li><a href="../examples/luaautoindent.lua.html">luaautoindent.lua</a></li>
<li><a href="../examples/luasyntaxchecker.lua.html">luasyntaxchecker.lua</a></li>
<li><a href="../examples/randomizelines.lua.html">randomizelines.lua</a></li>
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
Expand All @@ -52,7 +53,8 @@ <h2>Classes</h2>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/callbacks.md.html">callbacks</a></li>
<li><a href="../topics/callbacks.md.html">Callbacks</a></li>
<li><a href="../topics/externalpluginsupport.md.html">External Plugin Support</a></li>
</ul>

</div>
Expand Down Expand Up @@ -121,7 +123,7 @@ <h2>highlightoccurrences.lua</h2>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
<footer>
Expand Down
Loading

0 comments on commit 3cf2d4b

Please sign in to comment.