Skip to content

Commit acd52f4

Browse files
committedSep 9, 2016
Bump version to v0.5.0
Update documentation and Closes #32
1 parent b3b7c82 commit acd52f4

21 files changed

+491
-40
lines changed
 

‎docs/classes/Editor.html

Lines changed: 8 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -81,6 +81,7 @@ <h2>Classes</h2>
8181
<ul class="nowrap">
8282
<li><strong>Editor</strong></li>
8383
<li><a href="../classes/Match.html">Match</a></li>
84+
<li><a href="../classes/Styler.html">Styler</a></li>
8485
<li><a href="../classes/Notepad.html">Notepad</a></li>
8586
</ul>
8687
<h2>Topics</h2>
@@ -93,6 +94,8 @@ <h2>Examples</h2>
9394
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
9495
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
9596
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
97+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
98+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
9699
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
97100
</ul>
98101

@@ -2422,7 +2425,9 @@ <h3>See also:</h3>
24222425

24232426
<h3>Usage:</h3>
24242427
<ul>
2425-
<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>
2428+
<pre class="example"> <span class="keyword">for</span> m <span class="keyword">in</span> editor:match(text, flags) <span class="keyword">do</span>
2429+
...
2430+
<span class="keyword">end</span></pre>
24262431
</ul>
24272432

24282433
</dd>
@@ -15332,7 +15337,7 @@ <h3>See also:</h3>
1533215337
</div> <!-- id="main" -->
1533315338
<div id="about">
1533415339
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
15335-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
15340+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
1533615341
</div> <!-- id="about" -->
1533715342
</div> <!-- id="container" -->
1533815343
<footer>

‎docs/classes/Match.html

Lines changed: 8 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -41,6 +41,7 @@ <h2>Classes</h2>
4141
<ul class="nowrap">
4242
<li><a href="../classes/Editor.html">Editor</a></li>
4343
<li><strong>Match</strong></li>
44+
<li><a href="../classes/Styler.html">Styler</a></li>
4445
<li><a href="../classes/Notepad.html">Notepad</a></li>
4546
</ul>
4647
<h2>Topics</h2>
@@ -53,6 +54,8 @@ <h2>Examples</h2>
5354
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5455
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5556
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
57+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
58+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
5659
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
5760
</ul>
5861

@@ -74,7 +77,9 @@ <h3>See also:</h3>
7477
</ul>
7578
<h3>Usage:</h3>
7679
<ul>
77-
<pre class="example">for m in editor:match(&quot;teh&quot;) do m:replace(&quot;the&quot;) end</pre>
80+
<pre class="example"> for m in editor:match(&quot;teh&quot;) do
81+
m:replace(&quot;the&quot;)
82+
end</pre>
7883
</ul>
7984

8085

@@ -234,7 +239,7 @@ <h2 class="section-header "><a name="Metamethods"></a>Metamethods</h2>
234239
</div> <!-- id="main" -->
235240
<div id="about">
236241
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
237-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
242+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
238243
</div> <!-- id="about" -->
239244
</div> <!-- id="container" -->
240245
<footer>

‎docs/classes/Notepad.html

Lines changed: 5 additions & 2 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -41,6 +41,7 @@ <h2>Classes</h2>
4141
<ul class="nowrap">
4242
<li><a href="../classes/Editor.html">Editor</a></li>
4343
<li><a href="../classes/Match.html">Match</a></li>
44+
<li><a href="../classes/Styler.html">Styler</a></li>
4445
<li><strong>Notepad</strong></li>
4546
</ul>
4647
<h2>Topics</h2>
@@ -53,6 +54,8 @@ <h2>Examples</h2>
5354
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5455
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5556
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
57+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
58+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
5659
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
5760
</ul>
5861

@@ -1273,7 +1276,7 @@ <h3>Usage:</h3>
12731276
</div> <!-- id="main" -->
12741277
<div id="about">
12751278
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
1276-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
1279+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
12771280
</div> <!-- id="about" -->
12781281
</div> <!-- id="container" -->
12791282
<footer>

‎docs/classes/Styler.html

Lines changed: 13 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -53,6 +53,8 @@ <h2>Examples</h2>
5353
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
5454
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
5555
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
56+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
57+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
5658
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
5759
</ul>
5860

@@ -61,10 +63,15 @@ <h2>Examples</h2>
6163
<div id="content">
6264

6365
<h1>Class <code>Styler</code></h1>
64-
<p>Description</p>
65-
<p>
66-
67-
</p>
66+
<p>Used for lexing and styling a document.</p>
67+
<p> The same functionality can be achieved
68+
using lower-level Scintilla messages, this is merely to provide a higher-level interface.
69+
Make sure to check the examples.
70+
</p>
71+
<h3>See also:</h3>
72+
<ul>
73+
<a href="../classes/Notepad.html#Notepad.AddEventHandler">Notepad.AddEventHandler</a>
74+
</ul>
6875

6976

7077
<h2><a href="#Fields">Fields</a></h2>
@@ -823,7 +830,7 @@ <h3>Parameters:</h3>
823830
</div> <!-- id="main" -->
824831
<div id="about">
825832
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
826-
<i style="float:right;">Last updated 2016-09-09 09:07:12 </i>
833+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
827834
</div> <!-- id="about" -->
828835
</div> <!-- id="container" -->
829836
<footer>

‎docs/examples/bookmark.lua.html

Lines changed: 5 additions & 2 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,12 +37,15 @@ <h2>Examples</h2>
3737
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
3838
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
3939
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
40+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
41+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
4042
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
4143
</ul>
4244
<h2>Classes</h2>
4345
<ul class="nowrap">
4446
<li><a href="../classes/Editor.html">Editor</a></li>
4547
<li><a href="../classes/Match.html">Match</a></li>
48+
<li><a href="../classes/Styler.html">Styler</a></li>
4649
<li><a href="../classes/Notepad.html">Notepad</a></li>
4750
</ul>
4851
<h2>Topics</h2>
@@ -72,7 +75,7 @@ <h2>bookmark.lua</h2>
7275
</div> <!-- id="main" -->
7376
<div id="about">
7477
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
75-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
78+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
7679
</div> <!-- id="about" -->
7780
</div> <!-- id="container" -->
7881
<footer>

‎docs/examples/highlightoccurrences.lua.html

Lines changed: 5 additions & 2 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,12 +37,15 @@ <h2>Examples</h2>
3737
<li><strong>highlightoccurrences.lua</strong></li>
3838
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
3939
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
40+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
41+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
4042
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
4143
</ul>
4244
<h2>Classes</h2>
4345
<ul class="nowrap">
4446
<li><a href="../classes/Editor.html">Editor</a></li>
4547
<li><a href="../classes/Match.html">Match</a></li>
48+
<li><a href="../classes/Styler.html">Styler</a></li>
4649
<li><a href="../classes/Notepad.html">Notepad</a></li>
4750
</ul>
4851
<h2>Topics</h2>
@@ -115,7 +118,7 @@ <h2>highlightoccurrences.lua</h2>
115118
</div> <!-- id="main" -->
116119
<div id="about">
117120
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
118-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
121+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
119122
</div> <!-- id="about" -->
120123
</div> <!-- id="container" -->
121124
<footer>

‎docs/examples/selectionaddnext.lua.html

Lines changed: 5 additions & 2 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,12 +37,15 @@ <h2>Examples</h2>
3737
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
3838
<li><strong>selectionaddnext.lua</strong></li>
3939
<li><a href="../examples/sessionmanager.lua.html">sessionmanager.lua</a></li>
40+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
41+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
4042
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
4143
</ul>
4244
<h2>Classes</h2>
4345
<ul class="nowrap">
4446
<li><a href="../classes/Editor.html">Editor</a></li>
4547
<li><a href="../classes/Match.html">Match</a></li>
48+
<li><a href="../classes/Styler.html">Styler</a></li>
4649
<li><a href="../classes/Notepad.html">Notepad</a></li>
4750
</ul>
4851
<h2>Topics</h2>
@@ -88,7 +91,7 @@ <h2>selectionaddnext.lua</h2>
8891
</div> <!-- id="main" -->
8992
<div id="about">
9093
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
91-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
94+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
9295
</div> <!-- id="about" -->
9396
</div> <!-- id="container" -->
9497
<footer>

‎docs/examples/sessionmanager.lua.html

Lines changed: 5 additions & 2 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.4.0</sub></h1>
26+
<h1>LuaScript <sub>v0.5.0</sub></h1>
2727

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>
@@ -37,12 +37,15 @@ <h2>Examples</h2>
3737
<li><a href="../examples/highlightoccurrences.lua.html">highlightoccurrences.lua</a></li>
3838
<li><a href="../examples/selectionaddnext.lua.html">selectionaddnext.lua</a></li>
3939
<li><strong>sessionmanager.lua</strong></li>
40+
<li><a href="../examples/stylecsv.lua.html">stylecsv.lua</a></li>
41+
<li><a href="../examples/stylecustom.lua.html">stylecustom.lua</a></li>
4042
<li><a href="../examples/visualstudiolinecopy.lua.html">visualstudiolinecopy.lua</a></li>
4143
</ul>
4244
<h2>Classes</h2>
4345
<ul class="nowrap">
4446
<li><a href="../classes/Editor.html">Editor</a></li>
4547
<li><a href="../classes/Match.html">Match</a></li>
48+
<li><a href="../classes/Styler.html">Styler</a></li>
4649
<li><a href="../classes/Notepad.html">Notepad</a></li>
4750
</ul>
4851
<h2>Topics</h2>
@@ -245,7 +248,7 @@ <h2>sessionmanager.lua</h2>
245248
</div> <!-- id="main" -->
246249
<div id="about">
247250
<i>Generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
248-
<i style="float:right;">Last updated 2016-09-09 09:10:16 </i>
251+
<i style="float:right;">Last updated 2016-09-09 11:11:46 </i>
249252
</div> <!-- id="about" -->
250253
</div> <!-- id="container" -->
251254
<footer>

0 commit comments

Comments
 (0)