aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaDoc.html10
-rw-r--r--doc/ScintillaHistory.html2
-rw-r--r--doc/ScintillaRelated.html14
-rw-r--r--doc/Steps.html44
4 files changed, 35 insertions, 35 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 73fcaad4c..7a49b5967 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1060,8 +1060,8 @@ struct TextToFind {
This returns the length of the line, including any line end characters. If <code>line</code>
is negative or beyond the last line in the document, the result is 0. If you want the length of
the line not including any end of line characters, use <a class="message"
- href="#SCI_GETLINENDPOSITION"><code>SCI_GETLINENDPOSITION(line)</code></a> - <a class="message"
- href="#SCI_GETLINEPOSITION"><code>SCI_GETLINEPOSITION(line)</code></a>.</p>
+ href="#SCI_GETLINEENDPOSITION"><code>SCI_GETLINEENDPOSITION(line)</code></a> - <a class="message"
+ href="#SCI_POSITIONFROMLINE"><code>SCI_POSITIONFROMLINE(line)</code></a>.</p>
<b id="SCI_GETSELTEXT">SCI_GETSELTEXT(&lt;unused&gt;, char *text)</b><br />
This copies the currently selected text and a terminating 0 byte to the <code>text</code>
buffer. The buffer must be at least
@@ -2213,7 +2213,7 @@ struct TextToFind {
selection margins which make it easy to select ranges of lines. By default, all margins are
insensitive.</p>
-<b id="SCI_SETMARGINLEFT">SCI_SETMARGINLEFT(&lt;unused&gt;, int pixels)</b><br />
+ <p><b id="SCI_SETMARGINLEFT">SCI_SETMARGINLEFT(&lt;unused&gt;, int pixels)</b><br />
<b id="SCI_GETMARGINLEFT">SCI_GETMARGINLEFT</b><br />
<b id="SCI_SETMARGINRIGHT">SCI_SETMARGINRIGHT(&lt;unused&gt;, int pixels)</b><br />
<b id="SCI_GETMARGINRIGHT">SCI_GETMARGINRIGHT</b><br />
@@ -2520,7 +2520,7 @@ struct TextToFind {
<a class="message" href="#SCI_MARKERGET">SCI_MARKERGET(int line)</a><br />
<a class="message" href="#SCI_MARKERNEXT">SCI_MARKERNEXT(int lineStart, int
markerMask)</a><br />
- <a class="message" href="#SCI_MARKERPREVIOUS(">SCI_MARKERPREVIOUS(int lineStart, int
+ <a class="message" href="#SCI_MARKERPREVIOUS">SCI_MARKERPREVIOUS(int lineStart, int
markerMask)</a><br />
<a class="message" href="#SCI_MARKERLINEFROMHANDLE">SCI_MARKERLINEFROMHANDLE(int
handle)</a><br />
@@ -3051,7 +3051,7 @@ struct TextToFind {
example of call tip use.</p>
<p>The mouse may be clicked on call tips and this causes a
- <a class="message" href="#SCN_CALLTIPCLICK">SCN_CALLTIPCLICK</a></code>
+ <code><a class="message" href="#SCN_CALLTIPCLICK">SCN_CALLTIPCLICK</a></code>
notification to be sent to the container. Small up an down arrows may be displayed within
a call tip by, respectively, including the characters '\001', or '\002'. This is useful
for showing that there are overloaded variants of one function name and that the user can
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index ac006f284..57837622a 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -169,7 +169,7 @@
</p>
<ul>
<li>
- <a href="http://jfa.javalobby.org/projects/icons/">
+ <a href="http://sourceforge.net/projects/icon-collection/">
Icons</a> Copyright(C) 1998 by Dean S. Jones<br />
</li>
</ul>
diff --git a/doc/ScintillaRelated.html b/doc/ScintillaRelated.html
index 272071cd2..f8ba23c31 100644
--- a/doc/ScintillaRelated.html
+++ b/doc/ScintillaRelated.html
@@ -51,7 +51,7 @@
is an ActiveX control written in VB that encapsulates Scintilla.
</p>
<p>
- <a href="http://savannah.gnu.org/projects/fxscintilla/">FXScintilla
+ <a href="http://savannah.nongnu.org/projects/fxscintilla/">FXScintilla
</a> is a port of Scintilla to the FOX platform. FXRuby includes Ruby
bindings for FXScintilla.
</p>
@@ -84,7 +84,7 @@
Scintilla.iface file.
</p>
<p>
- <a href="http://sourceforge.net/projects/moleskine">pygtkscintilla</a>
+ <a href="http://sourceforge.net/projects/moleskine/">pygtkscintilla</a>
is a Python binding for gtk1.x scintilla that uses
gtkscintilla instead of the default GTK class.
</p>
@@ -137,7 +137,7 @@
the Visual Environment for NSIS (Nullsoft Scriptable Install System).
</p>
<p>
- <a href="http://parinya.homeip.net/">
+ <a href="http://www.parinya.ca/">
MinGW Developer Studio</a>
is a simple C/C++ IDE for the MinGW compiler on Windows.
</p>
@@ -167,7 +167,7 @@
is a commercial tool for looking at the HTML on web sites.
</p>
<p>
- <a href="http://www.capitalsoftware.it/radon">RAD.On++</a>
+ <a href="http://www.capitalsoftware.it/radon/">RAD.On++</a>
is a free C++ Rapid Application Developer for Win32.
</p>
<p>
@@ -180,7 +180,7 @@
Basic interpreter that uses the wxWindows toolkit. A small IDE is under construction.
</p>
<p>
- <a href="http://www.rubyide.org/cgi-bin/wiki.pl">FreeRIDE</a> will be a
+ <a href="http://freeride.rubyforge.org/wiki/wiki.pl">FreeRIDE</a> will be a
cross-platform IDE for the Ruby programming language.
</p>
<p>
@@ -248,7 +248,7 @@
Qt based development environment for Python and Ruby.
</p>
<p>
- <a href="http://www.activestate.com/Products/Komodo">Komodo</a>
+ <a href="http://www.activestate.com/Products/Komodo/">Komodo</a>
is a cross-platform multi-language development environment built
as an application of Mozilla.
</p>
@@ -264,7 +264,7 @@
</p>
-->
<p>
- <a href="http://perso.libertysurf.fr/llt/">Filerx</a>
+ <a href="http://llt.chez.tiscali.fr/">Filerx</a>
is a project manager for SciTE on Windows.
Open source and includes an implementation of SciTE's Director interface so
will be of interest to others wanting to control SciTE.
diff --git a/doc/Steps.html b/doc/Steps.html
index 3b74bd342..a946f2517 100644
--- a/doc/Steps.html
+++ b/doc/Steps.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><title>How to use the Scintilla Edit Control in windows?</title><link href="style.css" rel="stylesheet"></head><body bgcolor="#ffffff">
+<html><head><meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><title>How to use the Scintilla Edit Control in windows?</title></head><body bgcolor="#ffffff">
<p><h2>How to use the Scintilla Edit Control in windows?</h2>
<p>
This should be a little step by step explanation how to use Scintilla in the windows environment.
@@ -10,43 +10,43 @@
First of all, load the Scintilla DLL with something like:
</p>
<pre>
-
+
hmod = LoadLibrary(&quot;SciLexer.DLL&quot;);
if (hmod==NULL)
{
- MessageBox(hwndParent,
- &quot;The Scintilla DLL could not be loaded.&quot;,
- &quot;Error loading Scintilla&quot;,
+ MessageBox(hwndParent,
+ &quot;The Scintilla DLL could not be loaded.&quot;,
+ &quot;Error loading Scintilla&quot;,
MB_OK | MB_ICONERROR);
}
</pre>
<p>
- If the DLL was loaded successfully, then the DLL has registered (yes, by itself) a new
+ If the DLL was loaded successfully, then the DLL has registered (yes, by itself) a new
window class. The new class called &quot;Scintilla&quot; is the new scintilla edit control.
</p>
<p>
Now you can use this new control just like any other windows control.
</p>
<pre>
-
- hwndScintilla = CreateWindowEx(0,
+
+ hwndScintilla = CreateWindowEx(0,
&quot;Scintilla&quot;,&quot;&quot;, WS_CHILD|WS_VISIBLE|WS_TABSTOP,
10,10,500,400,hwndParent,(HMENU)GuiID, hInstance,NULL);
</pre>
<p>
- Note the new window class name: &quot;Scintilla&quot;. By reaching this point you actually included
+ Note the new window class name: &quot;Scintilla&quot;. By reaching this point you actually included
a Scintilla Edit Control to your windows program.
</p>
</p>
<p><h2>How to control the Scintilla Edit Control?</h2>
<p>
You can control Scintilla by sending commands to the Edit Control.
- There a 2 ways of doing this. A simple and fast way.
+ There a 2 ways of doing this. A simple and fast way.
</p>
<p><h3>The simple way to control Scintilla</h3>
<p>
- The simple way is just like with any other windows control. You can send messages to the
- Scintilla Edit Control and receive notifications from the control. (Note that the notifications
+ The simple way is just like with any other windows control. You can send messages to the
+ Scintilla Edit Control and receive notifications from the control. (Note that the notifications
are sent to the parent window of the Scintilla Edit Control.)
</p>
<p>
@@ -54,14 +54,14 @@
To send commands to the Scintilla Edit Control you can use the SendMessage function.
</p>
<pre>
-
+
SendMessage(hwndScintilla,sci_command,wparam,lparam);
</pre>
<p>
like:
</p>
<pre>
-
+
SendMessage(hwndScintilla,SCI_CREATEDOCUMENT, 0, 0);
</pre>
<p>
@@ -71,12 +71,12 @@
<p><h3>The fast way to control Scintilla</h3>
<p>
The fast way of controlling the Scintilla Edit Control is to call message handling function by yourself.
- You can retrieve a pointer to the message handling function of the Scintilla Edit Control and
+ You can retrieve a pointer to the message handling function of the Scintilla Edit Control and
call it directly to execute a command. This way is much more faster than the SendMessage() way.
</p>
<p>
- 1st you have to use the SCI_GETDIRECTFUNCTION and SCI_GETDIRECTPOINTER commands to
- retrieve the pointer to the function and a pointer which must be the first parameter when calling the retrieved
+ 1st you have to use the SCI_GETDIRECTFUNCTION and SCI_GETDIRECTPOINTER commands to
+ retrieve the pointer to the function and a pointer which must be the first parameter when calling the retrieved
function pointer.
You have to do this with the SendMessage way :)
</p>
@@ -84,7 +84,7 @@
The whole thing has to look like this:
</p>
<pre>
-
+
int (*fn)(void*,int,int,int);
void * ptr;
int canundo;
@@ -92,7 +92,7 @@
fn = (int (__cdecl *)(void *,int,int,int))SendMessage(
hwndScintilla,SCI_GETDIRECTFUNCTION,0,0);
ptr = (void *)SendMessage(hwndScintilla,SCI_GETDIRECTPOINTER,0,0);
-
+
canundo = fn(ptr,SCI_CANUNDO,0,0);
</pre>
<p>
@@ -104,7 +104,7 @@
</p>
<p><h3>How will I receive notifications?</h3>
<p>
- Whenever an event occurs where Scintilla wants to inform you about something, the Scintilla Edit Control
+ Whenever an event occurs where Scintilla wants to inform you about something, the Scintilla Edit Control
will send notification to the parent window. This is done by a WM_NOTITY message.
When receiving that message, you have to look in the xxx struct for the actual message.
</p>
@@ -117,7 +117,7 @@
[...]
case WM_NOTIFY:
- lpnmhdr = (LPNMHDR) lParam;
+ lpnmhdr = (LPNMHDR) lParam;
if(lpnmhdr-&gt;hwndFrom==hwndScintilla)
{
@@ -134,7 +134,7 @@
</pre>
</p>
</p>
-
+
<p>
<i>Page contributed by Holger Schmidt.</i>
</p>