
These classes provides a MFC and ATL/WTL wrapping for the Scintilla edit control (http://www.scintilla.org). 
This control provides an open source cross platform edit control. Some of the features 
it provides include syntax colouring, call tips, brace highlighting, Styles, margins 
and markers to name but a few. The provided wrapper classes make it easier to include 
the control in MFC / WTL projects on Windows.
 
Features 
	- Implements all the functionality provided by Scintilla v5.5.7.
 
	- The CScintillaCtrl wrapper class observes the same semantics as the built 
	in MFC "CEdit" wrapper class. This class can also be used with ATL 
	/ WTL without taking a dependency on MFC.
 
	- Automatically uses the direct access functions provided by Scintilla to 
	improve performance.
 
	- The CScintillaView and CScintillaDoc classes provide a complete doc / view 
	implementation which can be dropped into an existing project instead of the 
	built in MFC rich edit or edit control classes.
 
	- Provides built in MFC persistence support.
 
	- All notifications sent using WM_NOTIFY and WM_COMMAND are mapped to easier 
	to use C++ virtual functions in the view wrapper class.
 
	- The CScintillaView class provides a default folding implementation.
 
	- Includes full "Find and Replace" support including the regular 
	expression support provided by Scintilla. To achieve this a "CScintillaFindReplaceDlg" 
	class is implemented which derives from the standard MFC "CFindReplaceDialog".
 
	- Includes a complete MFC printing implementation in CScintillaView.
 
	- Includes complete support for standard Page Setup dialog and print margins.
 
	- Includes a framework for Print headers and footers.
 
	- Includes support for all the standard MFC menu items, such as Cut, Copy, 
	Paste etc.
 
	- Automatically handles Ascii, UTF8 with BOM, UTF8 without BOM, UTF16LE 
	with BOM, UTF16LE without BOM and UTF16BE with BOM documents.
 
	- The sample app demonstrates how top level messages should be forwarded to 
	the Scintilla control.
 
	- The sample app also demonstrates how you would implement autocompletion 
	and call tips in your code.
 
	- The classes hide the fact that Scintilla does not natively support Windows 
	Unicode (aka UTF16). The way Scintilla supports Unicode is through a UTF8 API. 
	The "CScintillaCtrl" wrapper class looks after the details of setting 
	up the Unicode code page for Scintilla and the translation to and from UTF8 
	strings. If you take a look at the "ScintillaCtrl.h" header file, 
	you will see a section which includes widechar string versions of the functions 
	in Scintilla which involves string parameters. These widechar string functions 
	are wrapped in a "_UNICODE" pre-processor #ifdef. Internally, these 
	functions perform the thunking required to map between Windows Unicode and the 
	UTF8 API of Scintilla. Please note that to perform this thunking the code uses 
	the UTF8 translation functionality provided by the "WideCharToMultiByte" 
	and "MultiByteToWideChar" Win32 API calls.
 
 
The enclosed zip file contains the 
wrapper class source code and a simple MFC demo application which exercises the 
classes functionality.
 
Copyright
	- You are allowed to include the source code in any product (commercial, shareware, 
	freeware or otherwise) when your product is released in binary form.
 
	- You are allowed to modify the source code in any way you want except you 
	cannot modify the copyright details at the top of each module.
 
	- If you want to distribute source code with your application, then you are 
	only allowed to distribute versions released by the author. This is to maintain 
	a single distribution point for the source code.
 
 
Updates
v1.94 (15 June 2025)
	- Updated class to work with Scintilla v5.5.7. New messages wrapped 
	include: SCI_AUTOCSETIMAGESCALE, SCI_AUTOCGETIMAGESCALE and 
	SCI_SCROLLVERTICAL.
 
v1.93 (11 April 2025)
	- Updated CScintillaCtrl:: MarkerSymbolDefined method to return 
	MarkerSymbol.
 
	- Verified the code against Scintilla v5.5.6. 
 
v1.92 (16 March 2025)
	- Updated class to work with Scintilla v5.5.5. New messages wrapped 
	include: SCI_SETUNDOSELECTIONHISTORY, SCI_GETUNDOSELECTIONHISTORY, 
	SCI_GETSELECTIONSERIALIZED and SCI_SETSELECTIONSERIALIZED.
 
v1.91 (26 January 2025)
	- Updated copyright detail.
 
	- The code now includes <string> prior to #including <ScintillaCall.h>. 
	This fixes an issue when the code is used with GSL Library 4.1.0. Thanks to 
	Andrew Truckle for reporting this issue.
 
	- Reworked CScintillaDemoApp::LoadLibraryFromApplicationDirectory to use 
	std::filesystem::path.
 
	- Updated GetModuleFileName calls to handle path length > _MAX_PATH.
 
21 December 2024
	- Verified the code against Scintilla v5.5.4. 
 
v1.90 (19 November 2024)
	- Updated CScintillaView::Serialize to better handle loading a non UTF 
	encoded file. Thanks to Jörg Hellenkamp for reporting this issue.
 
26 October 2024
	- Verified the code against Scintilla v5.5.3.
 
v1.89 (24 August 2024)
	- Updated class to work with Scintilla v5.5.2. New messages wrapped 
	include: SCI_STYLESETSTRETCH, SCI_STYLEGETSTRETCH, SCI_GETUNDOSEQUENCE, 
	SCI_LineIndent, SCI_LINEDEDENT, SCI_SETCOPYSEPARATOR & SCI_GETCOPYSEPARATOR. 
 
v1.88 (22 July 2024)
	- Updated class to work with Scintilla v5.5.1. New messages wrapped 
	include: SCI_AUTOCSETSTYLE, SCI_AUTOCGETSTYLE & SCI_CUTALLOWLINE. 
 
v1.87 (6 May 2024)
	- Rationalized some of the code in CScintillaView::Serialize. 
 
	- The size of the buffer used in SScintillaView::Serialize can now be 
	customized via a member variable "m_nLoadSaveBufferSize". 
 
v1.86 (5 May 2024)
	- Fixed a bug in CScintillaView::Serialize where SetUndoCollection was not 
	being called when a document was being loaded. This prevents the view from 
	being marked as modified as it is edited. Thanks to Andrew Truckle for 
	reporting this issue. 
 
	- Updated CScintillaView::Serialize to correctly load Ascii, UTF8 with 
	BOM, UTF8 without BOM, UTF16LE with BOM, UTF16LE without BOM and UTF16BE 
	with BOM documents. 
 
	- Updated CScintillaView::Serialize to save documents with whatever BOM 
	they were initially loaded with. 
 
v1.85 (27 April 2024)
	- Reimplemented CScintillaView::Serialize to use CreateLoader interface 
	and SetDocPointer function when loading a document. This change 
	significantly improves the load time for large documents. 
 
	- Reimplemented CScintillaView::Serialize to use GetCharacterPointer 
	function when saving a document. This change significantly improves the save 
	time for large documents. 
 
v1.84 (26 April 2024)
	- Verified the code against Scintilla v5.5.0.
 
v1.83 (29 March 2024)
	- Updated copyright details.
 
	- Updated class to work with Scintilla v5.4.3. New messages wrapped 
	include: SCI_GETUNDOACTIONS, SCI_GETUNDOSAVEPOINT, SCI_SETUNDODETACH, 
	SCI_SETUNDOTENTATIVE, SCI_SETUNDOCURRENT, SCI_PUSHUNDOACTIONTYPE, 
	SCI_CHANGELASTUNDOACTIONTEXT, SCI_GETUNDOACTIONTYPE, 
	SCI_GETUNDOACTIONPOSITION & SCI_GETUNDOACTIONTEXT. 
 
v1.82 (28 December 2023)
	- Updated class to work with Scintilla v5.4.1. New messages wrapped 
	include: SCI_CHANGESELECTIONMODE, SCI_SETMOVEEXTENDSSELECTION & 
	SCI_SELECTIONFROMPOINT. Also updated the signatures of the following 
	methods: GetDocPointer, SetDocPointer, CreateDocument, AddRefDocument and 
	ReleaseDocument.
 
v1.81 (14 December 2023)
	- Updated the code to fully support PreSubclassWindow in the MFC code 
	path. 
 
v1.80 (9 December 2023)
	- Verified the code against Scintilla v5.4.0. 
 
	- Removed the SetCallDirect & GetCallDirect methods. Instead now the 
	CScintillaCtrl class will call the m_DirectStatusFunction if the calling 
	thread is the same as the thread on which the Scintilla control was created. 
	Thanks to Markus Nissl for this update. 
 
28 August 2023
	- Verified the code against Scintilla v5.3.6.
 
11 June 2023
	- Verified the code against Scintilla v5.3.5.
 
v1.79 (21 May 2023)
	- Updated modules to indicate that it needs to be compiled using 
	/std:c++17. Thanks to Martin Richter for reporting this issue.
 
22 March 2023
	- Verified the code against Scintilla v5.3.4. 
 
v1.78 (25 February 2023)
	- Updated copyright details.
 
	- Verified the code against Scintilla v5.3.3. 
 
v1.77 (19 December 2022)
	- Fixed a bug where the first parameter to SetXCaretPolicy and 
	SetYCaretPolicy should be a CaretPolicy instead of VisiblePolicy. Thanks to 
	Markus Nissl for reporting this issue. 
 
	- Removed unnecessary Scintilla namespace usage in ScintillaCtrl.cpp. 
	Thanks to Markus Nissl for reporting this issue. 
 
	- Removed unnecessary Scintilla namespace usage in ScintillaDocView.cpp. 
	Thanks to Markus Nissl for reporting this issue.
 
v1.76 (16 December 2022)
	- Fixed up issue with Regular expression checkbox not appearing in find 
	and replace dialogs. 
 
	- Replaced intptr_t type with Line typedef. 
 
	- Updated code to use message values from Scintilla provided 
	"ScintillaMessages.h" header file. 
 
	- Renamed SetScintillaProperty method to SetSCIProperty. 
 
	- Renamed GetScintillaProperty method to GetSCIProperty. 
 
	- Updated code to use structs from Scintilla provided 
	"ScintillaStructures.h" header file. 
 
	- Updated code to use Scintilla provided "ScintillaCall.h" header file 
	instead of the "Scintilla.h" which is designed for C clients. 
 
	- Updated code to use Scintilla::Position instead of Sci_Position. 
 
	- Changed virtual functions in CScintillaView to use 
	Scintilla::NotificationData struct. 
 
v1.75 (14 December 2022)
	- All classes are now contained in the workspace "Scintilla". 
 
	- Updated code to use enums from Scintilla provided "ScintillaTypes.h" 
	header file. 
 
	- Updated class to work with Scintilla v5.3.2. New messages wrapped 
	include: SCI_GETSTYLEDTEXTFULL and SCI_REPLACETARGETMINIMAL. 
 
v1.74 (29 October 2022)
	- Updated class to work with Scintilla v5.3.1. New messages wrapped 
	include: SCI_STYLESETINVISIBLEREPRESENTATION & 
	SCI_STYLEGETINVISIBLEREPRESENTATION. 
 
v1.73 (12 September 2022)
	- Updated class to work with Scintilla v5.3.0. New messages wrapped 
	include: SCI_SETCHANGEHISTORY, SCI_GETCHANGEHISTORY & 
	SCI_GETSELECTIONHIDDEN. 
 
	- Updated CScintillaCtrl class to support being compiled with WTL support. 
	Thanks to Niek Albers for suggesting this update. 
 
v1.72 (10 August 2022)
	- Updated all line parameters to use intptr_t instead of int. Thanks to 
	Markus Nissl for reporting this issue.
 
v1.71 (17 July 2022)
	- Updated class to work with Scintilla v5.2.4. New messages wrapped 
	include: SCI_FINDTEXTFULL, SCI_FORMATRANGEFULL & SCI_GETTEXTRANGEFULL.
	
 
v1.70 (31 March 2022)
	- Updated copyright details. 
 
	- Updated class to work with Scintilla v5.2.2. New messages wrapped 
	include: SCI_GETSTYLEINDEXAT, SCI_SETLAYOUTTHREADS and SCI_GETLAYOUTTHREADS.
	
 
	- Updated the code to use C++ uniform initialization for all variable 
	declarations.
 
10 December 2021
	- Verified the code against Scintilla v5.1.5. 
 
27 November 2021
	- Verified the code against Scintilla v5.1.4. 
 
v1.69 (30 September 2021)
	- Updated class to work with Scintilla v5.1.3. New messages wrapped 
	include: SCI_STYLESETCHECKMONOSPACED, SCI_STYLEGETCHECKMONOSPACED, 
	SCI_GETCARETLINEHIGHLIGHTSUBLINE & SCI_SETCARETLINEHIGHLIGHTSUBLINE.
 
v1.68 (14 August 2021)
	- Updated class to work with Scintilla v5.1.1. New messages wrapped 
	include: SCI_AUTOCSETOPTIONS, SCI_AUTOCGETOPTIONS & SCI_ALLOCATELINES.
 
v1.67 (11 July 2021)
	- Updated class to work with Scintilla v5.1.0. New messages wrapped 
	include: SCI_GETDIRECTSTATUSFUNCTION, SCI_REPLACERECTANGULAR, 
	SCI_CLEARALLREPRESENTATIONS, SCI_SETREPRESENTATIONAPPEARANCE, 
	SCI_GETREPRESENTATIONAPPEARANCE, SCI_SETREPRESENTATIONCOLOUR & 
	SCI_GETREPRESENTATIONCOLOUR 
 
	- Changed the return values from GetDirectFunction & GetDirectPointer to 
	less generic data types. 
 
v1.66 (5 June 2021)
	- Updated class to work with Scintilla v5.0.3. New messages wrapped 
	include: SCI_MARKERGETLAYER, SCI_MARKERSETLAYER, SCI_GETELEMENTBASECOLOUR, 
	SCI_GETSELECTIONLAYER, SCI_SETSELECTIONLAYER, SCI_GETCARETLINELAYER & 
	SCI_SETCARETLINELAYER.
 
v1.65 (10 May 2021)
	- Updated class to work with Scintilla v5.0.2. New messages wrapped 
	include: SCI_SETFONTLOCALE, SCI_GETFONTLOCALE, SCI_MARKERSETFORETRANSLUCENT, 
	SCI_MARKERSETBACKTRANSLUCENT, SCI_MARKERSETBACKSELECTEDTRANSLUCENT, 
	SCI_MARKERSETSTROKEWIDTH, SCI_SETELEMENTCOLOUR, SCI_GETELEMENTCOLOUR, 
	SCI_RESETELEMENTCOLOUR, SCI_GETELEMENTISSET, 
	SCI_GETELEMENTALLOWSTRANSLUCENT, SCI_INDICSETSTROKEWIDTH, 
	SCI_INDICGETSTROKEWIDTH & SCI_SUPPORTSFEATURE.
 
	- Updated copyright details.
	
 
15 December 2020
	- Verified the code against Scintilla v4.4.6. 
 
v1.64 (26 September 2020)
	- Updated class to work with Scintilla v4.4.5. New messages wrapped 
	include: SCI_GETMULTIEDGECOLUMN.
 
v1.63 (15 August 2020)
	- Updated class to work with Scintilla v4.4.4. New messages wrapped 
	include: SCI_BRACEMATCHNEXT, SCI_EOLANNOTATIONSETTEXT, 
	SCI_EOLANNOTATIONGETTEXT, SCI_EOLANNOTATIONSETSTYLE, 
	SCI_EOLANNOTATIONGETSTYLE, SCI_EOLANNOTATIONCLEARALL, 
	SCI_EOLANNOTATIONSETVISIBLE, SCI_EOLANNOTATIONGETVISIBLE, 
	SCI_EOLANNOTATIONSETSTYLEOFFSET & SCI_EOLANNOTATIONGETSTYLEOFFSET.
 
v1.62 (14 June 2020)
	- Verified the code against Scintilla v4.4.3. 
 
	- Updated the text when the demo application could not find the Scintilla 
	SciLexer DLL.
 
	- The demo app supplied with this code now includes a prebuilt version of 
	SciLexer.dll as a convenience.
 
v1.61 (7 May 2020)
	- Added missing static_casts in the GetSelectionNStartVirtualSpace and 
	GetSelectionNEndVirtualSpace methods. Thanks to Yusuf Karagöz for reporting 
	this issue.
 
	- Updated class to work with Scintilla v4.3.3. New messages wrapped 
	include: SCI_MARKERHANDLEFROMLINE and SCI_MARKERNUMBERFROMLINE.
 
	- Changed two parameters to CallTipSetHlt method to be Sci_Position from 
	int.
 
	- Changed return value from IndicatorStart method to be Sci_Position from 
	int.
 
	- Changed return value from IndicatorEnd method to be Sci_Position from 
	int.
 
v1.60 (21 March 2020)
	- Updated copyright details.
	
 
	- Fixed more Clang-Tidy static code analysis warnings in the code.
	
 
	- Updated class to work with Scintilla v4.3.2. New messages wrapped 
	include: SCI_SETILEXER.
 
v1.59 (28 December 2019)
	- Fixed some further Clang-Tidy static code analysis warnings in the code.
	
 
v1.58 (27 December 2019)
	- Updated class to work with Scintilla v4.2.3. New messages wrapped 
	include: SCI_SETTARGETSTARTVIRTUALSPACE, SCI_GETTARGETSTARTVIRTUALSPACE, 
	SCI_SETTARGETENDVIRTUALSPACE, SCI_GETTARGETENDVIRTUALSPACE, 
	SCI_GETSELECTIONNSTARTVIRTUALSPACE & SCI_GETSELECTIONNENDVIRTUALSPACE.
 
	- Fixed various Clang-Tidy static code analysis warnings in the code.
 
v1.57 (3 November 2019)
	- Updated class to work with Scintilla v4.2.1. New messages wrapper 
	include: SCI_SETTABMINIMUMWIDTH and SCI_GETTABMINIMUMWIDTH. 
 
	- Updated initialization of various structs to use C++ 11 list 
	initialization
 
v1.56 (23 August 2019)
	- Updated class to work with Scintilla v4.2.0. Various API definitions 
	have been updated to use Sci_Position instead of int parameters. No new 
	actual messages were added.
 
v1.55 (25 June 2019)
	- Updated class to work with Scintilla v4.1.7. New messages wrapped 
	include: SCI_SETCHARACTERCATEGORYOPTIMIZATION, 
	SCI_GETCHARACTERCATEGORYOPTIMIZATION, SCI_FOLDDISPLAYTEXTGETSTYLE, 
	SCI_SETDEFAULTFOLDDISPLAYTEXT & SCI_GETDEFAULTFOLDDISPLAYTEXT.
 
v1.54 (2 April 2019)
	- Verified the code works with the latest Scintilla v4.1.4. No new 
	messages were added for this release of scintilla.
 
v1.53 (23 February 2019)
	- Fixed a number of compiler warnings when the code is compiled with VS 
	2019 Preview
 
	- Optimized the code in CScintillaView::PrintHeader to use CTime instead 
	of COleDateTime when getting the current date and time. Thanks to Markus 
	Nissl for reporting this issue. 
 
v1.52 (19 January 2019)
	- Updated copyright details 
 
	- Updated class to work with Scintilla v4.1.3. New messages wrapped 
	include: SCI_SETCOMMANDEVENTS & SCI_GETCOMMANDEVENTS. 
 
	- Added support for SCN_AUTOCSELECTIONCHANGE notification.
 
	- Added code to suppress C4263 off by default compiler warning. Thanks to 
	Karagoez Yusuf for reporting this issue. 
 
v1.51 (9 September 2018)
	- Fixed a number of compiler warnings when using VS 2017 15.8.2
 
	- Updated class to work with Scintilla v4.1.1. New messages wrapped 
	include: SCI_COUNTCODEUNITS, SCI_POSITIONRELATIVECODEUNITS, 
	SCI_GETLINECHARACTERINDEX, SCI_ALLOCATELINECHARACTERINDEX, 
	SCI_RELEASELINECHARACTERINDEX, SCI_LINEFROMINDEXPOSITION & 
	SCI_INDEXPOSITIONFROMLINE
 
v1.50 (15 July 2018)
	- Fixed a number of C++ core guidelines compiler warnings. These changes 
	mean that the code will now only compile on VC 2017 or later. 
 
	- Code page is now explicitly set to ANSI when building for ANSI. This is 
	necessary because as of Scintilla 4 the default code page is now UTF-8. 
	Thanks to Karagoez Yusuf for reporting this issue. 
 
	- CScintillaCtrl::SetProperty has been renamed SetScintillaProperty to 
	avoid clashing with CWnd::SetProperty 
 
	- CScintillaCtrl::GetProperty has been renamed GetScintillaProperty to 
	avoid clashing with CWnd::GetProperty
 
	- Renamed CScintillaView::CreateControl method to CreateScintillaControl. 
 
	- Renamed CScintillaView::OnKillFocus method to OnScintillaKillFocus. 
 
	- Renamed CScintillaView::OnSetFocus method to OnScintillaSetFocus.
 
	- Updated class to work with Scintilla v4.1.0. New messages wrapped 
	include: SCI_GETDOCUMENTOPTIONS
 
	- Reworked CScintillaView::m_aPageStart variable to now use std::vector
 
v1.49 (3 May 2018)
	- Added support for SCN_MARGINRIGHTCLICK notification. Thanks to Karagoez 
	Yusuf for reporting this issue.
 
	- Verified the code works with the latest Scintilla v4.0.4. No new 
	messages were added for this release of scintilla.
 
v1.48 (18 March 2018)
	- Updated class to work with Scintilla v4.0.3. New parameters to 
	SCI_CREATEDOCUMENT & SCI_CREATELOADER messages. New messages wrapped 
	include: SCI_GETMOVEEXTENDSSELECTION message, SCI_GETBIDIRECTIONAL & 
	SCI_SETBIDIRECTIONAL 
 
	- SCI_ADDREFDOCUMENT and SCI_RELEASEDOCUMENT wrappers now use void* 
	for the document parameter. 
 
v1.47 (28 January 2018)
	- Added code to OnEditRepeat, OnFindNext and OnReplaceSel methods to 
	ensure that the text just found or replaced is visible. This is necessary 
	because sometimes the found text could be hidden in folded text. Thanks to 
	Michael Thompson for reporting this issue. 
 
	- The OnEditRepeat method now calls AdjustFindDialogPosition to ensure it 
	is moved if necessary. Thanks to Michael Thompson for reporting this issue. 
 
v1.46 (3 January 2018)
	- Updated copyright details. 
 
	- Removed Unicode versions of MarginSetStyles & AnnotationSetStyles 
	methods as these methods take byte buffers and do not take text data. Thanks 
	to Karagoez Yusuf for reporting this issue. 
 
v1.45 (27 December 2017)
	- Updated class to work with Scintilla v4.0.2. Some messages have been 
	removed in 4.0.2 including SCI_SETSTYLEBITS, SCI_GETSTYLEBITS & 
	SCI_GETSTYLEBITSNEEDED.
 
15 November 2017
v1.44 (31 August 2017)
	- Updated class to work with Scintilla v4.0.0. New messages wrapped 
	include: SCI_GETNAMEDSTYLES, SCI_NAMEOFSTYLE, SCI_TAGSOFSTYLE & 
	SCI_DESCRIPTIONOFSTYLE. Messages removed include SCI_GETTWOPHASEDRAW & 
	SCI_SETTWOPHASEDRAW
 
	- Fixed up a number of compiler warnings when the code is compiled for x64
 
v1.43 (12 June 2017)
	- Updated class to work with Scintilla v3.7.5. New messages wrapped include: 
	SCI_GETCARETLINEFRAME, SCI_SETCARETLINEFRAME & SCI_LINEREVERSE
 
	- Made _SCINTILLA_EDIT_STATE class available in ScintillaDocView.h and 
	renamed it to "CScintillaEditState". Thanks to Michael Thompson for requesting 
	this addition. 
 
	- Updated CScintillaView::FindTextSimple to track the initial position and 
	restart searches from the beginning (or end if searching backwards) until the 
	original start position was located. Thanks to Michael Thompson for provided 
	this nice addition. 
 
	- Updated the demo app included in the download to show how 
	CScintillaView::CreateControl can be used. Thanks to Michael Thompson for 
	prompting this update.
 
v1.42 (3 April 2017)
	- Updated class to work with Scintilla v3.7.4. New messages wrapped include: 
	SCI_SETACCESSIBILITY & SCI_GETACCESSIBILITY 
 
v1.41 (4 March 2017)
	- Updated copyright details 
 
	- Updated class to work with Scintilla v3.7.3. The only change to support 
	this version was to have now no return value from the SetSelection and AddSelection 
	methods 
 
	- Updated the download to include the correct VC 2010 project files. Thanks 
	to Kenny Lau for reporting this issue.
 
	- Reworked the CScintillaView::OnActivateView to change the find / replace 
	dialog owner to correctly handle cases where there are multiple top level scintilla 
	views in your application. Thanks to to Kenny Lau for reporting this issue.
	
 
	- Refactored the logic in CScintillaView::OnDestroy which decides if the find 
	/ replace dialog should be destroyed into a new virtual ShouldDestroyFindReplaceDialog 
	method. 
 
	- Implemented a WM_NCDESTROY message handler for the find / replace dialog. 
	This helps avoid problems where you would sometimes get an ASSERT thrown from 
	CScintillaView::AssertValid. The code to validate the find / replace dialog 
	has also been removed from CScintillaView::AssertValid. Thanks to Kenny Lau 
	for reporting this issue. 
 
v1.40 (20 December 2016)
	- Updated class to work with Scintilla v3.7.1. New messages wrapped include: 
	SCI_GETTABDRAWMODE, SCI_SETTABDRAWMODE, SCI_TOGGLEFOLDSHOWTEXT & SCI_FOLDDISPLAYTEXTSETSTYLE. 
	The parameter to support the SCI_USEPOPUP message has been changed from a BOOL 
	to an int. 
 
	- Updated code to use Sci_RangeToFormat typedef instead of RangeToFormat
	
 
	- Updated code to use Sci_TextToFind typedef instead of TextToFind 
 
	- Updated code to use Sci_TextRange typedef instead of TextRange 
 
	- Updated code to no longer use Scintilla namespace which has been removed 
	from Scintilla.h
 
	- Added a new member variable called "m_bCPP11Regex" which decides 
	if Scintilla's support for C++11 regex should be used in the find / replace 
	functionality. Thanks to Markus Nissl for suggesting this update. 
 
v1.39 (20 November 2016)
	- Addition of a new CScintillaView::CreateControl virtual method. This allows 
	the customization of the creation of the CScintillaCtrl instance at runtime 
	in the view class. Thanks to Markus Nißl for providing this nice addition.
 
v1.38 (16 October 2016)
	- Replaced all occurrences of NULL with nullptr throughout the codebase. This 
	now means that the minimum requirement to compile the code is Visual Studio 
	2010 or later. Thanks to Markus Nissl for requesting this update.
 
	- Updated class to work with Scintilla v3.7.0. New messages wrapped include: 
	SCI_SETMARGINBACKN, SCI_GETMARGINBACKN, SCI_SETMARGINS, SCI_GETMARGINS, SCI_MULTIEDGEADDLINE, 
	SCI_MULTIEDGECLEARALL, SCI_SETMOUSEWHEELCAPTURES & SCI_GETMOUSEWHEELCAPTURES.
 
v1.37 (25 July 2016)
	- Added SAL annotations to all the code
 
v1.36 (11 July 2016)
	- Verified class against Scintilla v3.6.6. As no new messages were introduced 
	between v3.6.3 and v3.6.6 no changes were required in the code. 
 
	- Removed the bDirect parameter from all the method calls and instead replaced 
	this functionality with a new pair of getter / setter methods called GetCallDirect 
	and SetCallDirect. Thanks to Chad Marlow for prompting this update 
 
v1.35 (23 January 2016)
	- Updated copyright details. 
 
	- Updated class to work with Scintilla v3.6.3. New messages wrapped include: 
	SCI_SETIDLESTYLING & SCI_GETIDLESTYLING 
 
v1.34 (19 September 2015)
	- Updated the code to clean compile on VC 2015
 
	- Updated class to work with Scintilla v3.6.1. New messages wrapped include: 
	SCI_INDICSETHOVERSTYLE, SCI_INDICGETHOVERSTYLE, SCI_INDICSETHOVERFORE, SCI_INDICGETHOVERFORE, 
	SCI_INDICSETFLAGS, SCI_INDICGETFLAGS, SCI_SETTARGETRANGE, SCI_GETTARGETTEXT, 
	SCI_TARGETWHOLEDOCUMENT, SCI_ISRANGEWORD. SCI_MULTIPLESELECTADDNEXT & SCI_MULTIPLESELECTADDEACH. 
	Removed messages include: SCI_SETKEYSUNICODE & SCI_GETKEYSUNICODE.
 
	- Added virtual methods for SCN_AUTOCCOMPLETED notification. 
 
	- All APIs which use a logical document position which previously used a C 
	long has now been replaced with the Scintilla define "Sci_Position". 
	This is to mirror the ongoing changes in Scintilla to enable support for documents 
	larger than 2GB. 
 
22 August 2015
	- Verified the code compiles cleanly using VC 2015.
 
v1.33 (26 January 2015)
	- Updated copyright details 
 
	- Updated the code to clean compile on VC 2013 
 
	- Updated class to work with Scintilla v3.5.3. New messages wrapped include: 
	SCI_CHANGEINSERTION, SCI_CLEARTABSTOPS, SCI_ADDTABSTOP, SCI_GETNEXTTABSTOP, 
	SCI_GETIMEINTERACTION, SCI_SETIMEINTERACTION, SCI_CALLTIPSETPOSSTART, SCI_GETPHASESDRAW, 
	SCI_SETPHASESDRAW, SCI_POSITIONRELATIVE, SCI_AUTOCSETMULTI, SCI_AUTOCGETMULTI, 
	SCI_SETMOUSESELECTIONRECTANGULARSWITCH, SCI_GETMOUSESELECTIONRECTANGULARSWITCH, 
	SCI_DROPSELECTIONN, SCI_SETREPRESENTATION, SCI_GETREPRESENTATION, SCI_CLEARREPRESENTATION, 
	SCI_GETSTYLEFROMSUBSTYLE & SCI_GETPRIMARYSTYLEFROMSTYLE.
 
	- Added virtual methods for SCN_FOCUSIN & SCN_FOCUSOUT notifications.
	
 
v1.32 (16 June 2013)
	- Updated class to work with Scintilla v3.3.3. New messages wrapped include: 
	SCI_SCROLLRANGE, SCI_FOLDLINE, SCI_FOLDCHILDREN, SCI_EXPANDCHILDREN, SCI_FOLDALL, 
	SCI_SETAUTOMATICFOLD, SCI_GETAUTOMATICFOLD, SCI_AUTOCSETORDER, SCI_AUTOCGETORDER, 
	SCI_RELEASEALLEXTENDEDSTYLES, SCI_ALLOCATEEXTENDEDSTYLES, SCI_SETLINEENDTYPESALLOWED, 
	SCI_GETLINEENDTYPESALLOWED, SCI_GETLINEENDTYPESACTIVE, SCI_GETLINEENDTYPESSUPPORTED, 
	SCI_ALLOCATESUBSTYLES, SCI_GETSUBSTYLESSTART, SCI_GETSUBSTYLESLENGTH, SCI_FREESUBSTYLES, 
	SCI_SETIDENTIFIERS, SCI_DISTANCETOSECONDARYSTYLES & SCI_GETSUBSTYLEBASES.
 
	- Updated all the MFC MESSAGE_MAP's to use modern C++ style to reference methods 
	of a class.
 
	- Fixed a heap overwrite bug in the two versions of the GetSelText(BOOL bDirect) 
	method. The code now correctly uses SCI_GETSELTEXT(0,0) to determine the buffer 
	size to retrieve the data into. Thanks to Bengt Vagnhammar for reporting this 
	bug. 
 
v1.31 (23 February 2013)
	- PrivateLexerCall method now uses a void* parameter instead of an int. This 
	prevents a pointer truncation issue on 64bit platforms. Thanks to Simon Smith 
	for reporting this issue. 
 
v1.30 (18 January 2013)
	- Updated copyright details
 
	- Added virtual methods for SCN_INDICATORCLICK, SCN_INDICATORRELEASE, SCN_AUTOCCHARDELETED, 
	SCN_AUTOCCANCELLED & SCN_HOTSPOTRELEASECLICK notifications. Thanks to Markus 
	Nissl for prompting this update. 
 
	- The classes are now encapsulated in a Scintilla namespace if the SCI_NAMESPACE 
	define is defined. This is consistent with how the scintilla.h header file operates 
	in the presence of this define. Thanks to Markus Nißl for prompting this update. 
	
 
	- Updated class to work with Scintilla v3.2.4. New messages wrapped include: 
	SCI_GETSELECTIONEMPTY, SCI_RGBAIMAGESETSCALE, SCI_VCHOMEDISPLAY, SCI_VCHOMEDISPLAYEXTEND, 
	SCI_GETCARETLINEVISIBLEALWAYS & SCI_SETCARETLINEVISIBLEALWAYS. 
 
	- Updated the sample app to compile when the SCI_NAMESPACE define is defined.
	
 
	- The sample app is now built by default with the SCI_NAMESPACE defined. This 
	means that all the classes of the author will appear in the "Scintilla" 
	namespace. 
 
	- The demo app now loads the SciLexer.dll from the application directory only. 
	This avoids DLL planting security issues. 
 
v1.29 (15 August 2012)
	- Updated copyright details 
 
	- Updated class to work with Scintilla v3.2.1. New Messaged wrapped include: 
	SCI_DELETERANGE, SCI_GETWORDCHARS, SCI_GETWHITESPACECHARS, SCI_SETPUNCTUATIONCHARS, 
	SCI_GETPUNCTUATIONCHARS, SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR, SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR, 
	SCI_GETRANGEPOINTER, SCI_GETGAPPOSITION, SCI_FINDINDICATORSHOW, SCI_FINDINDICATORFLASH & 
	SCI_FINDINDICATORHIDE. 
 
	- SetDocPointer method now uses a void* parameter instead of an int. This 
	prevents a pointer truncation issue on 64bit platforms. Thanks to Kenny Liu 
	for reporting this issue. 
 
	- GetDocPointer method now also returns a void* instead of an int return value
	
 
	- Updated the code to clean compile on VC 2012  
 
v1.28 (12 December 2011)
	- Updated class to work with Scintilla v3.0.2. New messages wrapped include: 
	SCI_MARKERSETBACKSELECTED, SCI_MARKERENABLEHIGHLIGHT, SCI_STYLESETSIZEFRACTIONAL, 
	SCI_STYLEGETSIZEFRACTIONAL, SCI_STYLESETWEIGHT, SCI_STYLEGETWEIGHT, SCI_COUNTCHARACTERS, 
	SCI_SETEMPTYSELECTION, SCI_CALLTIPSETPOSITION, SCI_GETALLLINESVISIBLE, SCI_BRACEHIGHLIGHTINDICATOR, 
	SCI_BRACEBADLIGHTINDICATOR, SCI_INDICSETOUTLINEALPHA, SCI_INDICGETOUTLINEALPHA, 
	SCI_SETMARGINOPTIONS, SCI_GETMARGINOPTIONS, SCI_MOVESELECTEDLINESUP, SCI_MOVESELECTEDLINESDOWN, 
	SCI_SETIDENTIFIER, SCI_GETIDENTIFIER, SCI_RGBAIMAGESETWIDTH, SCI_RGBAIMAGESETHEIGHT, 
	SCI_MARKERDEFINERGBAIMAGE, SCI_REGISTERRGBAIMAGE, SCI_SCROLLTOSTART, SCI_SCROLLTOEND, 
	SCI_SETTECHNOLOGY, SCI_GETTECHNOLOGY & SCI_CREATELOADER Messages dropped 
	include: SCI_SETUSEPALETTE & SCI_GETUSEPALETTE 
 
v1.27 (1 April 2011)
	- Updated copyright details. 
 
	- Updated class to work with Scintilla v2.25. New messages wrapped include: 
	SCI_SETMARGINCURSORN & SCI_GETMARGINCURSORN
 
	- Updated CScintillaFindReplaceDlg::Create to use AfxFindResourceHandle instead 
	of AfxGetResourceHandle. Thanks to Nißl Markus for reporting this nice addition.
 
28 March 2011
	- Fixed an issue with the zip file download where some files included in the 
	zip file were from a different project. Thanks to "B.R" for reporting 
	this issue.
 
v1.26 (22 November 2010)
	- Updated copyright details. 
 
	- Updated sample app to clean compile on VC 2010 
 
	- Updated class to work with Scintilla v2.22. New messages wrapped include: 
	SCI_SETWHITESPACESIZE, SCI_GETWHITESPACESIZE, SCI_SETFONTQUALITY, SCI_GETFONTQUALITY, 
	SCI_SETFIRSTVISIBLELINE, SCI_SETMULTIPASTE, SCI_GETMULTIPASTE, SCI_GETTAG, SCI_AUTOCGETCURRENTTEXT, 
	SCI_SETADDITIONALCARETSVISIBLE, SCI_GETADDITIONALCARETSVISIBLE, SCI_CHANGELEXERSTATE, 
	SCI_CONTRACTEDFOLDNEXT, SCI_VERTICALCENTRECARET, SCI_GETLEXERLANGUAGE, SCI_PRIVATELEXERCALL, 
	SCI_PROPERTYNAMES, SCI_PROPERTYTYPE, SCI_DESCRIBEPROPERTY, SCI_DESCRIBEKEYWORDSETS. 
	Also there were some parameter changes to existing messages.
 
v1.25 (3 October 2009)
	- Fixed a bug in CScintillaCtrl::Create where a crash can occur in a Unicode 
	build if the CreateEx call fails (for example, if the Scintilla DLL was not 
	loaded). Thanks to Simon Smith for reporting this bug
 
	- Updated class to work with Scintilla v2.01. New messages wrapped include: 
	SCI_SETWRAPINDENTMODE, SCI_GETWRAPINDENTMODE, SCI_INDICSETALPHA, SCI_INDICGETALPHA, 
	SCI_SETEXTRAASCENT, SCI_GETEXTRAASCENT, SCI_SETEXTRADESCENT, SCI_GETEXTRADESCENT, 
	SCI_MARKERSYMBOLDEFINED, SCI_MARGINSETTEXT, SCI_MARGINGETTEXT, SCI_MARGINSETSTYLE, 
	SCI_MARGINGETSTYLE, SCI_MARGINSETSTYLES, SCI_MARGINGETSTYLES, SCI_MARGINTEXTCLEARALL, 
	SCI_MARGINSETSTYLEOFFSET, SCI_MARGINGETSTYLEOFFSET, SCI_ANNOTATIONSETTEXT, SCI_ANNOTATIONGETTEXT, 
	SCI_ANNOTATIONSETSTYLE, SCI_ANNOTATIONGETSTYLE, SCI_ANNOTATIONSETSTYLES, SCI_ANNOTATIONGETSTYLES, 
	SCI_ANNOTATIONGETLINES, SCI_ANNOTATIONCLEARALL, SCI_ANNOTATIONSETVISIBLE, SCI_ANNOTATIONGETVISIBLE, 
	SCI_ANNOTATIONSETSTYLEOFFSET, SCI_ANNOTATIONGETSTYLEOFFSET, SCI_ADDUNDOACTION, 
	SCI_CHARPOSITIONFROMPOINT, SCI_CHARPOSITIONFROMPOINTCLOSE, SCI_SETMULTIPLESELECTION, 
	SCI_GETMULTIPLESELECTION, SCI_SETADDITIONALSELECTIONTYPING, SCI_GETADDITIONALSELECTIONTYPING, 
	SCI_SETADDITIONALCARETSBLINK, SCI_GETADDITIONALCARETSBLINK, SCI_GETSELECTIONS, 
	SCI_CLEARSELECTIONS, SCI_SETSELECTION, SCI_ADDSELECTION, SCI_SETMAINSELECTION, 
	SCI_GETMAINSELECTION, SCI_SETSELECTIONNCARET, SCI_GETSELECTIONNCARET, SCI_SETSELECTIONNANCHOR, 
	SCI_GETSELECTIONNANCHOR, SCI_SETSELECTIONNCARETVIRTUALSPACE, SCI_GETSELECTIONNCARETVIRTUALSPACE, 
	SCI_SETSELECTIONNANCHORVIRTUALSPACE, SCI_GETSELECTIONNANCHORVIRTUALSPACE, SCI_SETSELECTIONNSTART, 
	SCI_GETSELECTIONNSTART, SCI_SETSELECTIONNEND, SCI_GETSELECTIONNEND, SCI_SETRECTANGULARSELECTIONCARET, 
	SCI_GETRECTANGULARSELECTIONCARET, SCI_SETRECTANGULARSELECTIONANCHOR, SCI_GETRECTANGULARSELECTIONANCHOR, 
	SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE, SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE, 
	SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE, SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE, 
	SCI_SETVIRTUALSPACEOPTIONS, SCI_GETVIRTUALSPACEOPTIONS, SCI_SETRECTANGULARSELECTIONMODIFIER, 
	SCI_GETRECTANGULARSELECTIONMODIFIER, SCI_SETADDITIONALSELFORE, SCI_SETADDITIONALSELBACK, 
	SCI_SETADDITIONALSELALPHA, SCI_GETADDITIONALSELALPHA, SCI_SETADDITIONALCARETFORE, 
	SCI_GETADDITIONALCARETFORE, SCI_ROTATESELECTION & SCI_SWAPMAINANCHORCARET
 
30 April 2009
	- Updated the project file to remove the now defunct manifest file. Thanks 
	to "marshal" for reporting this issue.
 
v1.24 (11 February 2009)
	- Updated the project file to remove VC 6 upgrade settings.
 
v1.23 (20 January 2009)
	- Updated copyright details
 
	- Fixed a bug in CScintillaView::SameAsSelected where it did not correctly 
	handle the fact that GetSelectionStart() and GetSelectionEnd() returns the positions 
	in UTF-8 encoded text which would result in failures in the logic for multibyte 
	encoded characters. This made it impossible to replace multibyte character sequences 
	in find / replace operations. Thanks to Alexei Letov for reporting this bug.
 
v1.22 (1 November 2008)
	- Updated class to work with Scintilla v1.77. New messages wrapped include: 
	SCI_GETCHARACTERPOINTER, SCI_SETKEYSUNICODE & SCI_GETKEYSUNICODE
 
	- Reworked all the key Unicode functions which expose string length management 
	and reimplemented them to use CStringW output parameters. Equivalent ASCII versions 
	have also been provided. This new approach helps to raise the level of abstraction 
	provided by the wrapper class. In the process the need for the GetLineEx function 
	has been removed. Thanks to Alexei Letov for prompting this update.
 
v1.21 (15 June 2008)
	- Code now compiles cleanly using Code Analysis (/analyze)
 
	- Updated code to compile correctly using _ATL_CSTRING_EXPLICIT_CONSTRUCTORS 
	define
 
	- The code now only supports VC 2005 or later.
 
v1.20 (19 March 2008)
	- Updated class to work with Scintilla v1.76. New messages wrapped include: 
	SCI_COPYALLOWLINE.
 
	- Updated copyright details.
 
	- Updated code to clean compile on VC 2008.
 
	- Removed VC 6 style classwizard comments from the code.
 
	- Updated the sample app's document icon.
 
	- Fixed a copy and paste bug in CScintillaView::PrintPage where the incorrect 
	margin value was being used in the calculation of "rfPrint.rc.left". 
	Thanks to Steve Arnold for reporting this bug.
 
	- Fixed a level 4 warning when the code is compiled on VC 6.
 
v1.19 (28 November 2007)
	- Updated class to work with Scintilla v1.75. New messages wrapped include: 
	SCI_INDICSETUNDER, SCI_INDICGETUNDER, new behavior for SCI_SETINDENTATIONGUIDES & 
	SCI_GETINDENTATIONGUIDES, SCI_SETSCROLLWIDTHTRACKING, SCI_GETSCROLLWIDTHTRACKING, 
	SCI_DELWORDRIGHTEND, SCI_SETCARETSTYLE, SCI_GETCARETSTYLE, SCI_SETINDICATORCURRENT, 
	SCI_SETINDICATORVALUE, SCI_INDICATORFILLRANGE, SCI_INDICATORCLEARRANGE, SCI_INDICATORALLONFOR, 
	SCI_INDICATORVALUEAT, SCI_INDICATORSTART, SCI_INDICATOREND, SCI_SETPOSITIONCACHE & 
	SCI_GETPOSITIONCACHE
 
	- The auto completion sample in CScintillaDemoView::OnCharAdded has been extended 
	to show another style of auto completion. Thanks to alessandro limonta for suggesting 
	this update.
 
v1.18 (11 June 2007)
	- Demo program included in the download is now compiled with VC 2005 SP1
 
	- Addition of a SCINTILLADOCVIEW_EXT_CLASS preprocessor to allow the classes 
	to be more easily used in an extension DLL.
 
	- Addition of a SCINTILLACTRL_EXT_CLASS preprocessor macro to allow the classes 
	to be more easily used in an extension DLL.
 
	- Updated copyright details.
 
	- CScintillaCtrl::GetSelText now uses CString::GetBufferSetLength to avoid 
	having to allocate an intermediate buffer. Thanks to Jochen Neubeck for reporting 
	this optimization.
 
	- Updated class to work with Scintilla v1.73. New messages wrapped include: 
	SCI_STYLEGETFORE, SCI_STYLEGETBACK, SCI_STYLEGETBOLD, SCI_STYLEGETITALIC, SCI_STYLEGETSIZE, 
	SCI_STYLEGETFONT, SCI_STYLEGETEOLFILLED, SCI_STYLEGETUNDERLINE, SCI_STYLEGETCASE, 
	SCI_STYLEGETCHARACTERSET, SCI_STYLEGETVISIBLE, SCI_STYLEGETCHANGEABLE, SCI_STYLEGETHOTSPOT, 
	SCI_GETSELEOLFILLED, SCI_SETSELEOLFILLED, SCI_GETHOTSPOTACTIVEFORE, SCI_GETHOTSPOTACTIVEBACK, 
	SCI_GETHOTSPOTACTIVEUNDERLINE & SCI_GETHOTSPOTSINGLELINE
 
v1.17 (17 September 2006)
	- Updated the CScintillaView::OnReplaceSel and CScintillaView::OnReplaceAll 
	implementations to use TargetFromSelection and ReplaceTargetRE/ReplaceTarget. 
	Thanks to Matt Spear for reporting this issue.
 
	- Fixed a bug in UTF82W (and W2UTF8) where if GetLine is called in a Unicode 
	build for the end of the file (i.e. a line having a length of 0), the UTF82W 
	function would allocate no buffer, but still erroneously write a one character 
	terminating null. In addition, the caller (GetLine) will try to deallocate the 
	buffer that was never allocated. Thanks to Scott Kelley for spotting this nasty 
	bug.
 
	- Added of a GetLineEx method which explicitly sets the first WORD value in 
	the text string to the maximum size. This avoids client code from having to 
	deal with the weird semantics of the EM_GETLINE message. Thanks to Scott Kelley 
	for providing this nice addition.
 
	- Verified code implements all the functionality of Scintilla v1.71
 
27 July 2006
	- Minor update to the sample app to fix an ASSERT related to the formatting 
	of the IDR_SCINTITYPE string resource. Thanks to Matt Spear for reporting this 
	issue.
 
v1.16 (29 June 2006)
	- Removed common control 6 manifest as this conflicts with VC 2005 compilation.
 
	- Code now uses new C++ style casts rather than old style C casts where necessary.
	
 
	- Optimized CScintillaCtrl constructor code
 
	- Updated the code to clean compile in VC 2005
 
	- Fixed a bug in the sample program when you invoke Print Preview when compiled 
	using VC 2005.
 
	- Code now supports persisting margin settings. Thanks to Krasimir Stoychev 
	for this update.
 
v1.15 (6 June 2006)
	- Updated the wrapper classes to work correctly when compiled for Unicode.
 
v1.14 (5 June 2006)
	- Updated class to work with Scintilla v1.69. New messages wrapped include: 
	SCI_MARKERSETALPHA, SCI_GETSELALPHA and SCI_SETSELALPHA.
 
v1.13 (22 May 2006)
	- Fixed a flicker issue when the CScintillaView is resized. Thanks to Michael 
	Gunlock for reporting this issue.
 
v1.12 (14 March 2006)
	- Updated class to work with Scintilla v1.68. New messages wrapped include: 
	SCI_CALLTIPUSESTYLE, SCI_SETCARETLINEBACKALPHA and SCI_GETCARETLINEBACKALPHA.
 
	- Updated the internal function CScintillaView::SameAsSelected to support 
	regular expressions. Thanks to Greg Smith for this update.
 
v1.11 (2 February 2006)
	- Minor update to CScintillaView to allow deletion of text when there is nothing 
	selected. Thanks to Alexander Kirillov for reporting this bug. 
 
v1.10 (16 January 2006)
	- Removed an unused "rSetup" variable in CScintillaView::PrintPage
 
	- Optimized code in CScintillaView::PrintPage and CScintillaView::OnFilePageSetup 
	which determines if metric or imperial measurements are being used. Now a boolean 
	member variable of CScintillaView called m_bUsingMetric which by default picks 
	up the control panel preference is provided. This allows client code to change 
	this value to customize how measurements are specified. Thanks to Greg Smith 
	for reporting this issue.
 
	- Fixed a small typo in CScintillaView::PrintHeader and PrintFooter. Also 
	explicitly uses the TA_TOP flag in combination with TA_LEFT when setting alignment 
	settings for header and footer text. Again thanks to Greg Smith for reporting 
	this.
 
	- Scintilla find / replace state is now stored in a standard global variable 
	instead of using the CProcessLocal template which it was using previously. This 
	is no longer required since it was used to provide Win32s support for MFC on 
	older versions of MFC. Since Win32s is no longer supported by MFC, there is 
	no need to use this mechanism any more.
 
v1.09 (8 January 2006)
	- Find / Replace dialog and associated state is now maintained outside of 
	CScintillaView. This means that if you have multiple CScintillaView's in your 
	app, that they share the one find / replace dialog which is the standard type 
	of UI you would normally expect for this. Thanks to Greg Smith for reporting 
	this issue.
 
	- Find / replace dialog is now closed when the last CScintillaView is destroyed. 
	Thanks to Greg Smith for reporting this issue.
 
v1.08 (6 January 2006)
	- Removed some unnecessary code from CScintillaView::OnEndPrinting. Thanks 
	to Greg Smith for spotting this issue.
 
	- Updated the documentation to use the same style as the web site
 
v1.07 (3 January 2006)
	- Updated class to work with Scintilla v1.67. New messages wrapped include: 
	SCI_MARKERADDSET, SCI_SETPASTECONVERTENDINGS, SCI_GETPASTECONVERTENDINGS, SCI_SELECTIONDUPLICATE 
	and SCI_GETSTYLEBITSNEEDED.
 
	- Updated copyright messages
 
	- Fixed a bug where the separator line in the header was not being drawn due 
	to issues in the code which calculates the coordinates. 
 
	- Added two member variables which decide whether printer headers and footers 
	should be printed (CScintillaView::m_bPrintHeader and CScintillaView::m_bPrintFooter). 
	You could of course achieve the same result by deriving a class from CScintillaView 
	and implementing empty PrintHeader and PrinterFooter methods!!!. Thanks to Jason 
	Elliott for suggesting this update.
 
	- Optimized the construction of member variables in CScintillaView::CScintillaView 
	and in CScintillaFindReplaceDlg::CScintillaFindReplaceDlg
 
	- CScintillaView::OnReplaceAll sets the selection to 0,0 before doing text 
	replacement. This ensures that all text in a document is replaced. Also this 
	function now does not bother calling TextNotFound at the end of the function 
	if replacements took place. Thanks to Jason Elliott for this nice update.
	
 
	- A parameter which indicates whether text is being replaced or found is now 
	sent to CScintillaView::TextNotFound.
 
v1.06 (10 July 2005)
	- Addition of a virtual function namely OnAutoCSelection which handles the 
	SCN_AUTOCSELECTION notification message which was introduced in Scintilla v1.63. 
	Thanks to Dan Petitt for suggesting this update.
 
	- Updated class to work with Scintilla v1.64.
 
	- A new boolean variable called "m_bUseROFileAttributeDuringLoading" 
	has been added to CScintillaView. If this value is set then the code will check 
	the read only file attribute of the file being loaded and if it is set, then 
	the document is marked as read only by Scintilla. By doing this any attempts 
	to modify the document will cause the OnModifyAttemptRO virtual function to 
	be called. This allows you to prompt to make the file read write or to check 
	out the file from a version control system. Thanks to Dan Petitt for suggesting 
	this update.
 
	- Demo app now demonstrates how to use the SCN_MODIFYATTEMPTRO notification.
 
	- Fixed a number of warnings when the code is compiled using Visual Studio 
	.NET 2003.
 
	- SetSavePoint and SetReadOnly calls are now made in CScintillaDoc::OnSaveDocument 
	instead of CScintillaView::Serialize. This ensures that the control is only 
	reset upon a successful save.
 
30 May 2005
	- Updated the sample app to show how to handle cancel call tips if a view 
	loses focus, is sized or moved. This is achieved by handling WM_ACTIVATE in 
	the view class and WM_SIZE and WM_MOVE in the child frame class. Thanks to Markus 
	Werle for spotting this issue.
 
v1.05 (4 March 2005)
	- Fix in CScintillaView::PrintPage which now sorts out the issue of print 
	preview not working in the MFC doc / view wrappers for scintilla. Thanks to 
	Frank Kiesel for reporting this fix.
 
v1.04 (20 December 2004)
	- Updated class to work with Scintilla v1.62.
 
	- Sample app now includes a common control 6 manifest
 
	- Sample app now includes an example of scintilla autocompletion. When you 
	type "scintilla is " case insensitively a autocompletion list is displayed 
	which allows "very cool", "easy" or "way cool!!" 
	to be entered. 
 
	- Sample app now includes an example of scintilla calltips. Whenever you hover 
	over text which is "author " case insensitively, a call tip with the 
	text "PJ Naughter" is displayed.
 
v1.03 (13 August 2004)
	- Made all the remaining non virtual functions related to Find and Replace 
	in CScintillaView virtual.
 
	- CScintillaView::TextNotFound function is now passed the parameters used 
	for the search. Thanks to Dmitry Naumov for this update.
 
	- Removed the CScintillaView::OnTextNotFound function as all the work for 
	it is achieved using the TextNotFound function.
 
	- Creation of the find / replace dialog now takes place in a new virtual function "CScintillaViewCreateFindReplaceDialog". 
	Again thanks to Dmitry Naumov for this update. 
 
v1.02 (6 June 2004)
	- Updated class to work with Scintilla v1.61.
 
v1.01 (18 March 2004)
	- Updated the sample app's Find Next and Find Previous marker functions. Now 
	correctly goes to the next and previous markers when a marker is on the current 
	line.
 
	- Updated the sample app's passing of messages to Scintilla from the top level 
	CMainFrame window.
 
v1.0 (17 July 1998)