README-Adobe.txt 

Copyright (c) 2007 Adobe Systems Incorporated

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

------------------------------------------------------------------------

License for Scintilla and SciTE

Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>

All Rights Reserved 

Permission to use, copy, modify, and distribute this software and its 
documentation for any purpose and without fee is hereby granted, 
provided that the above copyright notice appear in all copies and that 
both that copyright notice and this permission notice appear in 
supporting documentation. 

NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY 
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE 
OR PERFORMANCE OF THIS SOFTWARE.

------------------------------------------------------------------------

IMPORTANT: This Apple software is supplied to you by Apple Computer,
 Inc. ("Apple") in consideration of your agreement to the following terms,
 and your use, installation, modification or redistribution of this Apple
 software constitutes acceptance of these terms.  If you do not agree with
 these terms, please do not use, install, modify or redistribute this Apple
 software.
 
 In consideration of your agreement to abide by the following terms, and
 subject to these terms, Apple grants you a personal, non-exclusive
 license, under Apple's copyrights in this original Apple software (the
 "Apple Software"), to use, reproduce, modify and redistribute the Apple
 Software, with or without modifications, in source and/or binary forms;
 provided that if you redistribute the Apple Software in its entirety and
 without modifications, you must retain this notice and the following text
 and disclaimers in all such redistributions of the Apple Software.
 Neither the name, trademarks, service marks or logos of Apple Computer,
 Inc. may be used to endorse or promote products derived from the Apple
 Software without specific prior written permission from Apple. Except as
 expressly stated in this notice, no other rights or licenses, express or
 implied, are granted by Apple herein, including but not limited to any
 patent rights that may be infringed by your derivative works or by other
 works in which the Apple Software may be incorporated.
 
 The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES
 NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE
 IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A
 PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION
 ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
 
 IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
 MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND
 WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT
 LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY
 OF SUCH DAMAGE.

Copyright  2002-2003 Apple Computer, Inc., All Rights Reserved

------------------------------------------------------------------------


Adobe would like to contribute its Scintilla improvements to the Scintilla community.
This file contains the list of changes Adobe has made to Scintilla 1.74.

In 2006 Adobe decided to use Scintilla for the new version of the ExtendScript Toolkit that was eventually shipped with Creative Suite 3 (CS3). The ExtendScript Toolkit (ESTK) is a development and debugging tool for JavaScript scripts included with Adobe CS3 Suites and applications such as Bridge, Photoshop, Illustrator, InDesign, and After Effects. ESTK 2.0 is a new and enhanced version that allows you to create, edit and debug ExtendScript (Adobe's JavaScript language) all with an updated user interface, a new text engine, and the ability to debug more than one script at a time. That new text engine is Scintilla!

The ExtendScript Toolkit is freely available on Adobe's website at:
http://www.adobe.com/devnet/bridge

In order to ship ESTK 2.0 with Scintilla we had to make some changes to the Scintilla code. We started with version 1.68 and upgraded later to version 1.71, which was the version we ended up shipping with CS3. We recently updated our code base to Scintilla 1.74 and prepared our code so it could be easily merged with the Scintilla code base. All changes made by Adobe are ifdef'ed in ADOBE  in other words if you don't define ADOBE in your projects you will get Scintilla 1.74.

Here is a 'high-level' list of improvements (bug fixes and new features) we have added to Scintilla:

Win & OSX:
- Support for custom margins
- Bug fixes

OSX:
- Input Method Engine (IME) support
- Unicode support
- Drag and drop
- Context menu notification
- XCode project files.
- Bug fixes

Most of the changes we have made were in the area of the Mac OSX port.
For more details please see "List of changes Adobe has made to Scintilla 1.74" below.
For questions regarding Adobe's changes to Scintilla 1.74 please contact Bernd Paradies at bparadie@adobe.com .




List of changes Adobe has made to Scintilla 1.74 (2007-07-18)

#<nnnnnnn> refers to an Adobe bug number.
CL<nnnnnn> refers to a submitted change list for a source control system used by Adobe.

Platform.h: 
	- Added Surface::GetSID() for support for custom drawing of margins (CL258510). 
	- Added define ADOBE to Platform.h 
	- Added define EXCLUDE_LEXER_ESCRIPT to Platform.h 

Scintilla.h: 
	- Added SC_MARGIN_CUSTOM, SCN_CUSTOMDRAWMARGIN, MarginCustomDrawInfo, Support for custom drawing of margins (CL258510). 
	- Added SCN_TRANSLATETEXT, SCNotification::translation for Fix: #1465915 JP: LOC-NOTTRANS: The content menu items on the document window arent translated. (CL271718) 

PlatWin.cxx: 
	- Added SurfaceImpl::GetSID(). Support for custom drawing of margins (CL258510). 

ScintillaWin.cxx: 
	- Changes to ScintillaWin::AddToPopUp for Fix: #1465915 JP: LOC-NOTTRANS: The content menu items on the document window arent translated. (CL271718) 

Editor.cxx: 
	- Added SC_MARGIN_CUSTOM code to Editor::PaintSelMargin. Support for custom drawing of margins (CL258510). 
	- SCI_NAMESPACE adjustments for XCode 2.4 (CL291355) 

KeyMap.cxx: 
	- SCI_NAMESPACE adjustments for XCode 2.4 (CL291355) 

KeyWords.cxx: 
	- EXCLUDE_LEXER_ESCRIPT excludes support for EScript 

ScintillaBase.cxx: 
	- Added ScintillaBase::GetTranslatedText and Changed to ScintillaBase::ContextMenu for Fix: #1465915 JP: LOC-NOTTRANS: The content menu items on the document window arent translated. (CL271718) 

ScintillaBase.h: 
	- Added declaration for ScintillaBase::GetTranslatedText for Fix: #1465915 JP: LOC-NOTTRANS: The content menu items on the document window arent translated. (CL271718) 

Style.cxx: 
	- SCI_NAMESPACE adjustments for XCode 2.4 (CL291355) 

PlatMacOSX.cxx: 
	- Added SurfaceImpl::GetSID(). Support for custom drawing of margins (CL258510). 
	- Fix: set font for listbox for Mac auto-completion (CL258958) 
	- Basic implementation for SurfaceImpl::AlphaRectangle (CL261295) 
	- Code Completion list box needs to scale to text width (CL263069) 
		- added aveCharWidth to ListBoxImpl for 
		- increased maxWidth to 6000 
		- adjustments to ListBoxImpl::GetDesiredRect() 
		- maxItemWidth insetad of maxItemCharacters 
	- SCI_NAMESPACE adjustments for XCode 2.4 (CL291355) 
	- Support for Unicode display (CL249704) 
	- Platform::Assert 
		- Remove abort() from assert implementation (269445) 
		- Jump into debugger in assert on Mac (CL269835) 
	- Attempt to fix TSM so it terminates correctly on menu item selections (CL275003) 
	- 1526107: MeasureTextWidths() crashed if the string started with a BOM character. (CL283927) 
	- 1401159: When entering string quotes with additional text in following lines, the redraw was extremely sluggish. (CL266366) 
	- mouse cursor needs to be set correctly (CL249734) 
	- PlatformDefaultFontName is a Pascal string (CL236554) 
	- Fix: #1541590 Pasting upper ASCII Characters results in garbage on Mac (CL286905) 
	- Better: avoid crashes caused by timed draws after the window closed. (CL266374) 
	- Extended UTF8-UTF6-conversion to handle surrogate pairs correctly (CL265070) 

PlatMacOSX.h: 
	- Support for custom drawing of margins (CL258510). 
	- Support for Unicode display (CL249704) 
	- mouse cursor needs to be set correctly (CL249734) 

QuartzTextLayout.cpp: 
	- 1450168: Korean input does not crash ESTK anymore (CL269315) 
	- Extended UTF8-UTF6-conversion to handle surrogate pairs correctly (CL265070) 
	- 1414370: Optimized keyboard handling (CL265070) 

QuartzTextLayout.h: 
	- 1495384: Ignore Option+arrow keys (CL283929) 
	- Extended UTF8-UTF6-conversion to handle surrogate pairs correctly (CL265070) 
	- 1414370: Optimized keyboard handling (CL265070) 
	- Support for Unicode display (CL249704) 

QuartzTextStyleAttribute.h: 
	- Fix: #1433422 ESTK 2.0 crashes when launched on G4 Mac (CL265852) 

ScintillaMacOSX.cxx: 
	- support for extended imput (ExpInp) (CL249955) 
	- Fixes problems with not being able to enter "+-/" on OSX. (CL246990) 
	- added notification callbacks that send WM_COMMAND wnd WM_NOTIFY messages to another object (CL246650) 
	- Fixes for focus problems (CL246448) 
	- Implemented drag and drop (CL264550) 
	- Extended UTF8-UTF6-conversion to handle surrogate pairs correctly (CL265070) 
	- 1443481: Added clipboard format for MacRoman text (CL268555) 
	- 1452701: Added support for drop of files (CL268565) 
	- 1452623 Second Cmd+s to save doc inserts an "s" into the text on Mac. (CL269063) 
	- 1443481: Added cut and paste capabilities (CL269911) 
	- Fix: #1465915 JP: LOC-NOTTRANS: The content menu items on the document window aren't translated. (CL271754) 
	- 1474375: The Mac loses the current doc during a modal dialog... (CL274307) 
	- 1478116: Reading form a file did not convert line feeds to Mac CR's. (CL274307) 
	- Fix: #1478260 Mac Keyboard command Ctrl+K inserts VT characters when not debugging (274335) 
	- Attempt to fix TSM so it terminates correctly on menu item selections (CL275003) 
	- Fix: #1499721 Clicking in scroll bar trough doesn't work as expected (CL281094) 
	- 1495384: Ignore Option+arrow keys (CL283929) 
	- Fix: #1538432 Resize doc window after scrolling down causes scroll back to the beginning of document on Mac only. (CL286499) 
	- Fix: #1541590 Pasting upper ASCII Characters results in garbage on Mac (286905) 
	- Fix: unreported where some control keys didn't work (for document navigation) (CL287234) 

ScintillaMacOSX.h: 
	- ScintillaWidget implementation (CL239406) 
	- added notification callbacks that send WM_COMMAND wnd WM_NOTIFY messages to another object (CL246650) 
	- Implemented drag and drop (CL264550) 
	- Extended UTF8-UTF6-conversion to handle surrogate pairs correctly (CL265070) 
	- 1414370: Optimized keyboard handling (CL265070)) 
	- added notification callbacks that send WM_COMMAND wnd WM_NOTIFY messages to another object (CL246650) 
	- Attempt to fix TSM so it terminates correctly on menu item selections (CL275003) 

TView.cxx: 
	- Classic mode on Mac (Layout mechanism) (CL242819) 

TView.h: 
	- mouse cursor needs to be set correctly (CL249734) 

ExpInp.h and ExpInp.cxx (new) 
	- support for extended imput (ExpInp) (CL249955) 








