Skip to content

Commit

Permalink
Documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 committed May 15, 2019
1 parent ecf24f3 commit b68b074
Show file tree
Hide file tree
Showing 21 changed files with 2,517 additions and 1,367 deletions.
2,968 changes: 2,037 additions & 931 deletions docs/classes/Editor.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion 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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion 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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion 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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion 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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/luaautoindent.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/luasyntaxchecker.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/randomizelines.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/selectionaddnext.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/sessionmanager.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/stylecsv.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/stylecustom.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/visualstudiolinecopy.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>



Expand Down
2 changes: 1 addition & 1 deletion docs/topics/callbacks.md.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/externalpluginsupport.md.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.8</sub></h1>
<h1>LuaScript <sub>v0.9</sub></h1>

<ul>
<li><a href="../index.html">Index</a></li>
Expand Down
865 changes: 450 additions & 415 deletions docs_gen/PaneAPI.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs_gen/config.ld
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ custom_see_handler('^(SCI_[%w_]+)$', function(name)
return name, url
end)

project = 'LuaScript <sub>v0.8</sub>'
project = 'LuaScript <sub>v0.9</sub>'
title = 'LuaScript Reference'
description = 'Notepad++ plugin for [Lua](http://www.lua.org/) scripting capabilities.'
full_description = [[LuaScript allows you to customize Notepad++.
Expand Down
9 changes: 9 additions & 0 deletions src/LuaScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,15 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notifyCode) {
// Notepad++ messages

case NPPN_READY: {
// Ensure it is using the correct version of Notepad++
int version = static_cast<int>(SendNpp(NPPM_GETNPPVERSION));
int major = (version >> 16) & 0xFF;
int minor = version & 0xFF;

if (major < 7 || (major == 7 && minor < 7)) {
MessageBox(NULL, TEXT("This version of LuaScript should only be used with Notepad++ v7.7 and later."), NPP_PLUGIN_NAME, MB_OK | MB_ICONWARNING);
}

const char *msg = LUA_COPYRIGHT "\r\n\r\n";
g_console->mp_consoleDlg->writeText(strlen(msg), msg);
g_console->mp_consoleDlg->setCommandID(&funcItems[0]._cmdID);
Expand Down
8 changes: 4 additions & 4 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

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

0 comments on commit b68b074

Please sign in to comment.