Skip to content

Commit b68b074

Browse files
committed
Documentation updates
1 parent ecf24f3 commit b68b074

21 files changed

+2517
-1367
lines changed

docs/classes/Editor.html

Lines changed: 2037 additions & 931 deletions
Large diffs are not rendered by default.

docs/classes/Match.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/classes/Notepad.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/classes/Styler.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/bookmark.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/highlightoccurrences.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/luaautoindent.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/luasyntaxchecker.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/randomizelines.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/selectionaddnext.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/sessionmanager.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/stylecsv.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/stylecustom.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/examples/visualstudiolinecopy.lua.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828

2929

docs/topics/callbacks.md.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs/topics/externalpluginsupport.md.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
<ul>
2929
<li><a href="../index.html">Index</a></li>

docs_gen/PaneAPI.html

Lines changed: 450 additions & 415 deletions
Large diffs are not rendered by default.

docs_gen/config.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ custom_see_handler('^(SCI_[%w_]+)$', function(name)
2020
return name, url
2121
end)
2222

23-
project = 'LuaScript <sub>v0.8</sub>'
23+
project = 'LuaScript <sub>v0.9</sub>'
2424
title = 'LuaScript Reference'
2525
description = 'Notepad++ plugin for [Lua](http://www.lua.org/) scripting capabilities.'
2626
full_description = [[LuaScript allows you to customize Notepad++.

src/LuaScript.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,15 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notifyCode) {
393393
// Notepad++ messages
394394

395395
case NPPN_READY: {
396+
// Ensure it is using the correct version of Notepad++
397+
int version = static_cast<int>(SendNpp(NPPM_GETNPPVERSION));
398+
int major = (version >> 16) & 0xFF;
399+
int minor = version & 0xFF;
400+
401+
if (major < 7 || (major == 7 && minor < 7)) {
402+
MessageBox(NULL, TEXT("This version of LuaScript should only be used with Notepad++ v7.7 and later."), NPP_PLUGIN_NAME, MB_OK | MB_ICONWARNING);
403+
}
404+
396405
const char *msg = LUA_COPYRIGHT "\r\n\r\n";
397406
g_console->mp_consoleDlg->writeText(strlen(msg), msg);
398407
g_console->mp_consoleDlg->setCommandID(&funcItems[0]._cmdID);

src/Version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// along with this program; if not, write to the Free Software
1717
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1818

19-
#define VERSION_NUM 0,8,0,0
20-
#define VERSION_LINEAR 800
21-
#define VERSION_LINEAR_TEXT TEXT("800")
22-
#define VERSION_TEXT TEXT("0.8") // This must match the tag pushed on the server minus the "v"
19+
#define VERSION_NUM 0,9,0,0
20+
#define VERSION_LINEAR 900
21+
#define VERSION_LINEAR_TEXT TEXT("900")
22+
#define VERSION_TEXT TEXT("0.9") // This must match the tag pushed on the server minus the "v"
2323
#define VERSION_STAGE TEXT("") // "alpha", "beta", ""

0 commit comments

Comments
 (0)