Skip to content

Commit dd55268

Browse files
committed
- update docu regarding packaging of the plugin
- http -> https - some typos corrected - links updated
1 parent 0eee8a3 commit dd55268

File tree

8 files changed

+769
-773
lines changed

8 files changed

+769
-773
lines changed

PythonScript/src/CreateWrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ def writeScintillaDoc(f, out):
824824
out.write(getPythonSignature(v).replace('intptr_t','int')) # documentation should contain int instead of intptr_t
825825
out.write("\n\n ")
826826
out.write("\n ".join(v["Comment"]).replace('\\', '\\\\'))
827-
out.write("\n\n See Scintilla documentation for `{0} <http://www.scintilla.org/ScintillaDoc.html#{0}>`_\n\n".format(symbolName(v)))
827+
out.write("\n\n See Scintilla documentation for `{0} <https://www.scintilla.org/ScintillaDoc.html#{0}>`_\n\n".format(symbolName(v)))
828828

829829

830830
def writeScintillaEnums(f, out):

docs/source/compiling.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ This section is only intended for those interested in compiling the PythonScript
88
If you want to "compile" Python scripts, then you are looking in the wrong place - Python is automatically
99
compiled, so isn't normally something you need to worry about. Just run the script from the menu!
1010

11-
The source code for Python Script is held on Github, at http://github.com/davegb3/PythonScript
12-
13-
The code in Sourceforge's git repository is _normally_ the same, but not necessarily, as it may be slightly behind.
11+
The source code for Python Script is held on Github, at https://github.com/bruderstein/PythonScript
1412

1513
Boost.Python
1614
------------
@@ -22,7 +20,7 @@ If you just need the binary library (which you is probably all you need), they'r
2220
so you don't have to build them yourself.
2321

2422
Building the Boost.Python library is not as hard as it looks, you just
25-
need to know which options are required. Download boost (http://boost.org), and bjam - and have the bjam.exe
23+
need to know which options are required. Download boost (https://boost.org), and bjam - and have the bjam.exe
2624
in your path somewhere (or call it directly). From the ``libs\python\build`` directory in your boost directory,
2725
you now need to run bjam.
2826

@@ -60,7 +58,7 @@ Building PythonScript itself
6058
----------------------------
6159

6260
Next step is to set the paths of where your boost and python libraries are. That's just a matter of setting the properties
63-
in the .vsprops file - View, Other Windows, Property Manager in VS2015. Then set the macros in the User Macros section (under Debug and Release).
61+
in the .vsprops file - View, Other Windows, Property Manager in VS2017. Then set the macros in the User Macros section (under Debug and Release).
6462

6563
One last note on the code, a lot of the Python wrapper is automatically generated, with the CreateWrapper.py script. If you need to
6664
alter a Scintilla function, change the CreateWrapper.py script, not the generated code, or your changes will be lost next time CreateWrapper.py

docs/source/enums.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ SCINTILLAMESSAGE
156156
.. _SCINTILLAMESSAGE:
157157
.. class:: SCINTILLAMESSAGE
158158

159-
This enum contains all the messages defined in Scintilla - e.g. SCI_APPENDTEXT. For a complete list, see the `Scintilla <http://www.scintilla.org/ScintillaDoc.html>`_ documentation.
159+
This enum contains all the messages defined in Scintilla - e.g. SCI_APPENDTEXT. For a complete list, see the `Scintilla <https://www.scintilla.org/ScintillaDoc.html>`_ documentation.
160160

161161

162162
NOTIFICATION
@@ -2674,4 +2674,4 @@ WRAPVISUALLOCATION
26742674
.. End of autogeneration /* --Autogenerated ----- */
26752675
26762676
2677-
.. _Scintilla: http://www.scintilla.org/
2677+
.. _Scintilla: https://www.scintilla.org/

docs/source/intro.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Working with Unicode Text
6666
=========================
6767

6868
Python 2.x works with multi-byte strings, as does Scintilla. That means in most cases, you don't need to do anything special to deal with unicode data,
69-
as both sides are talking the same language. However, there are a few things to observe, and occassionaly you'll need to do something special to achieve
69+
as both sides are talking the same language. However, there are a few things to observe, and occasionally you'll need to do something special to achieve
7070
what you want to do. One important point is to make sure your script is saved in the same encoding as your target file(s) - this helps unicode strings
7171
be interpreted the same way.
7272

@@ -202,7 +202,7 @@ The Callback smallprint
202202
-----------------------
203203

204204
Due to the nature of Scintilla events, they are by default processed internally slightly differently to Notepad++ events.
205-
Notepad++ events are always processed *sychronously*, i.e. your event handler finishes before Python Script lets
205+
Notepad++ events are always processed *synchronously*, i.e. your event handler finishes before Python Script lets
206206
Notepad++ continue. Scintilla events are placed in a queue, and your event handlers are called as the queue is *asynchronously* processed
207207
- i.e. the event completes before your event handler is complete (or potentially before your event handler is even called).
208208

@@ -219,6 +219,6 @@ need to be aware of it if you're doing something time-sensitive.
219219

220220

221221

222-
.. _Python: http://www.python.org/
222+
.. _Python: https://www.python.org/
223223

224-
.. _Scintilla: http://www.scintilla.org/
224+
.. _Scintilla: https://www.scintilla.org/

docs/source/otherplugins.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ Here's a sample of how to call NPPM_MSGTOPLUGIN.::
9999
MessageBox(NULL, _T("Finished!"), _T("I waited..."), 0);
100100
}
101101
102-
.. _Python: http://www.python.org/
102+
.. _Python: https://www.python.org/

docs/source/pythonprimer.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ Further Information
131131

132132
This guide may be extended in the future, if people request it, and either I get time, or somebody puts some time into it. There are many good sources of information on the Internet, I've included a couple here.
133133

134-
http://docs.python.org/2/tutorial/
134+
https://docs.python.org/2/tutorial/
135135

136-
http://www.tutorialspoint.com/python/python_quick_guide.htm
136+
https://www.tutorialspoint.com/python/python_quick_guide.htm
137137

138-
And all the information is available on http://www.python.org
138+
And all the information is available on https://www.python.org
139139

140140

141141

142-
.. _Python: http://www.python.org/
142+
.. _Python: https://www.python.org/
143143

144-
.. _Scintilla: http://www.scintilla.org/
144+
.. _Scintilla: https://www.scintilla.org/

0 commit comments

Comments
 (0)