From 3a7020458fd18e50cb04bd8dbecb1df9b08d6539 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 6 Mar 2004 22:17:28 +0000 Subject: Fixing broken links. --- doc/ScintillaDoc.html | 10 +++++----- doc/ScintillaHistory.html | 2 +- doc/ScintillaRelated.html | 14 +++++++------- doc/Steps.html | 44 ++++++++++++++++++++++---------------------- 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 line 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 SCI_GETLINENDPOSITION(line) - SCI_GETLINEPOSITION(line).

+ href="#SCI_GETLINEENDPOSITION">SCI_GETLINEENDPOSITION(line) - SCI_POSITIONFROMLINE(line).

SCI_GETSELTEXT(<unused>, char *text)
This copies the currently selected text and a terminating 0 byte to the text 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.

-SCI_SETMARGINLEFT(<unused>, int pixels)
+

SCI_SETMARGINLEFT(<unused>, int pixels)
SCI_GETMARGINLEFT
SCI_SETMARGINRIGHT(<unused>, int pixels)
SCI_GETMARGINRIGHT
@@ -2520,7 +2520,7 @@ struct TextToFind { SCI_MARKERGET(int line)
SCI_MARKERNEXT(int lineStart, int markerMask)
- SCI_MARKERPREVIOUS(int lineStart, int + SCI_MARKERPREVIOUS(int lineStart, int markerMask)
SCI_MARKERLINEFROMHANDLE(int handle)
@@ -3051,7 +3051,7 @@ struct TextToFind { example of call tip use.

The mouse may be clicked on call tips and this causes a - SCN_CALLTIPCLICK + SCN_CALLTIPCLICK 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 @@

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.

- FXScintilla + FXScintilla is a port of Scintilla to the FOX platform. FXRuby includes Ruby bindings for FXScintilla.

@@ -84,7 +84,7 @@ Scintilla.iface file.

- pygtkscintilla + pygtkscintilla is a Python binding for gtk1.x scintilla that uses gtkscintilla instead of the default GTK class.

@@ -137,7 +137,7 @@ the Visual Environment for NSIS (Nullsoft Scriptable Install System).

- + MinGW Developer Studio is a simple C/C++ IDE for the MinGW compiler on Windows.

@@ -167,7 +167,7 @@ is a commercial tool for looking at the HTML on web sites.

- RAD.On++ + RAD.On++ is a free C++ Rapid Application Developer for Win32.

@@ -180,7 +180,7 @@ Basic interpreter that uses the wxWindows toolkit. A small IDE is under construction.

- FreeRIDE will be a + FreeRIDE will be a cross-platform IDE for the Ruby programming language.

@@ -248,7 +248,7 @@ Qt based development environment for Python and Ruby.

- Komodo + Komodo is a cross-platform multi-language development environment built as an application of Mozilla.

@@ -264,7 +264,7 @@

-->

- Filerx + Filerx 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 @@ -How to use the Scintilla Edit Control in windows? +How to use the Scintilla Edit Control in windows?

How to use the Scintilla Edit Control in windows?

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:

-		
+
 	hmod = LoadLibrary("SciLexer.DLL");
 		if (hmod==NULL)
 		{
-			MessageBox(hwndParent, 
-			"The Scintilla DLL could not be loaded.", 
-			"Error loading Scintilla", 
+			MessageBox(hwndParent,
+			"The Scintilla DLL could not be loaded.",
+			"Error loading Scintilla",
 			MB_OK | MB_ICONERROR);
 		}
 		

- 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 "Scintilla" is the new scintilla edit control.

Now you can use this new control just like any other windows control.

-		
-	hwndScintilla = CreateWindowEx(0, 
+
+	hwndScintilla = CreateWindowEx(0,
 		"Scintilla","", WS_CHILD|WS_VISIBLE|WS_TABSTOP,
 		10,10,500,400,hwndParent,(HMENU)GuiID, hInstance,NULL);
 		

- Note the new window class name: "Scintilla". By reaching this point you actually included + Note the new window class name: "Scintilla". By reaching this point you actually included a Scintilla Edit Control to your windows program.

How to control the Scintilla Edit Control?

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.

The simple way to control Scintilla

- 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.)

@@ -54,14 +54,14 @@ To send commands to the Scintilla Edit Control you can use the SendMessage function.

-			
+
 	SendMessage(hwndScintilla,sci_command,wparam,lparam);
 			

like:

-			
+
 	SendMessage(hwndScintilla,SCI_CREATEDOCUMENT, 0, 0);
 			

@@ -71,12 +71,12 @@

The fast way to control Scintilla

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.

- 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 :)

@@ -84,7 +84,7 @@ The whole thing has to look like this:

-			
+
 	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);
 			

@@ -104,7 +104,7 @@

How will I receive notifications?

- 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.

@@ -117,7 +117,7 @@ [...] case WM_NOTIFY: - lpnmhdr = (LPNMHDR) lParam; + lpnmhdr = (LPNMHDR) lParam; if(lpnmhdr->hwndFrom==hwndScintilla) { @@ -134,7 +134,7 @@

- +

Page contributed by Holger Schmidt.

-- cgit v1.2.3