aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-09-19Updated for Xcode 6.0.1.Neil Hodgson1-1/+1
2014-09-12Allow choice between windowed and inline IME.Neil1-0/+5
2014-09-03Add BibTeX lexer to OS X project.Neil Hodgson1-0/+4
2014-08-09Added registry lexer to Cocoa build.Neil Hodgson1-0/+4
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson2-28/+88
on and off as required. This saves power as there are fewer wake ups. A tolerance value is provided so that platforms that support coalescing timers, Windows 8+ and OS X 10.9+, can use them. The previous global 100 millisecond timer may still be used by non-core platforms.
2014-07-15Switch from tracking rectangle to tracking area. This is the more recent ↵Neil Hodgson2-11/+23
Cocoa API and allows detection of mouse movement when the view does not have the focus which is needed for dwell events.
2014-07-10Fix the insertText: method on ScintillaView to accept NSAttributedString as ↵Neil Hodgson2-3/+6
well as NSString, since insertText: is from the NSResponder superclass where it is defined to accept both.
2014-07-08Made recent refactor work on Cocoa.Neil Hodgson2-4/+28
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+3
2014-07-08Specifying some methods as const as they are used from display and measurementNeil2-6/+6
code that will be changed to have read-only access.
2014-06-17Stop copying private headers to framework headers directory.Neil Hodgson1-8/+8
2014-06-17Using the platform's NS_OPTIONS macro to define exported enumeration as ↵Neil Hodgson1-1/+1
recommended by Apple's documentation.
2014-06-17Use headers from framework instead of from relative paths.Neil Hodgson2-4/+4
This checks that the Scintilla framework exposes headers correctly.
2014-06-17Remove unused TopContainer method. Use less specific types when possible.Neil Hodgson2-14/+2
2014-06-17Move internal methods out of header.Neil Hodgson1-4/+0
2014-06-12Accepted updates from Xcode 5.1.Neil Hodgson1-1/+23
2014-06-07Failed to use the correct argument type in previous commit.Neil Hodgson1-1/+1
2014-06-07registerNotifyCallback is now marked as deprecated and will be removed in a ↵Neil Hodgson1-2/+2
future release. Client code should use the delegate or subclassing instead.
2014-06-07Avoid using ScintillaView.backend from ScintillaCocoa as this may be hidden ↵Neil Hodgson1-2/+1
in the future.
2014-06-07Using the platform's NS_ENUM macro to define exported enumeration as recommendedNeil Hodgson1-1/+1
by Apple's "Adopting Modern Objective-C" documentation. Helps tools such as the IDE and Swift interoperation.
2014-06-07Fix laying out of emoji. Emoji are not in the BMP, taking 2 UTF-16 code ↵Neil Hodgson1-1/+1
units. Previously the position used was that reported after the first code unit (0) instead of that after both code units. This led to the character after the emoji sharing space with it.
2014-05-24Header include statements are now in a standardised order with that orderNeil3-17/+19
defined in scripts/HeaderOrder.txt.
2014-05-03Fix Point and PRectangle constructors to match changes in Platform.h.Neil Hodgson2-13/+14
2014-05-02Type cast to make previous change compile on Cocoa.Neil Hodgson1-1/+2
2014-05-02Use exact SciFnDirect function signature for DirectFunction as earlier versionNeil2-4/+4
depended on undefined behaviour.
2014-05-01Cast to make previous change build on Cocoa.Neil Hodgson1-1/+1
2014-05-01Consolidate insertion for paste into Editor class and perform line endNeil1-12/+3
conversion in Editor.
2014-04-29Added DMIS lexer.Neil Hodgson1-0/+4
2014-03-28Made indentation consistent.Neil Hodgson1-4/+4
2014-03-27Surround 10.9-specific calls with version checks to ensure builds on old SDKs.nyamatongwe2-0/+6
2014-03-27Improve scrolling by performing styling in methods called before drawing ↵Neil Hodgson3-0/+85
instead of inside drawing which then caused the drawing to be abandoned, and black blocks to appear on-screen. Discard responsive scrolling overdraw when that overdrawn content is invalid. Style just the visible area instead of the whole document when styling changes run beyond painting area.
2014-03-26Indentation use tab.Neil Hodgson1-1/+1
2014-03-26Do not call AddCharUTF for empty insertions as may crash when autocompletion ↵Neil Hodgson1-4/+7
active or cause other unexpected behaviour.
2014-03-26Refactor range deletion into a method on ScintillaView.Neil Hodgson2-19/+19
For removeMarkedText, use range deletion instead of setting the selection and inserting an empty string as this has fewer side effects and should avoid crashes when an autocompletion list is active.
2014-03-11Upgrade to Xcode 5.1.Neil Hodgson1-1/+1
2014-02-22Stop adding an extra line to scrollable height as that led to cursor up/downNeil Hodgson1-1/+1
movement bugs because different parts of the code disagreed on top line.
2014-02-20Check that argument is of correct type.Neil Hodgson1-0/+1
2014-02-20When window is offscreen, use the main screen for screen max Y to preventNeil Hodgson1-0/+2
the window disappearing.
2014-01-21Added some missing headers.Neil Hodgson1-0/+12
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson1-1/+2
2014-01-16Draw circles more accurately using CGContextAddEllipseInRect insteadNeil Hodgson1-52/+4
of a series of bezier curves.
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-4/+2
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil2-2/+2
2013-12-15Format normalization - whitespace and braces made consistent.Neil9-311/+311
Parameter names added to method declarations.
2013-12-06Ensure find indicator correctly flipped on OS X 10.9.Neil Hodgson1-0/+9
2013-12-03Fix problems with appearance of newly scrolled content on OS X 10.9 where ↵Neil Hodgson2-0/+24
previously prepared content was shown.
2013-11-24Disable scroll wheel magnification by default since it causes visual garbage toNeil Hodgson1-0/+5
appear on OS X 10.9 when scrolling horizontally on a retina display.
2013-11-17Fix problem where cursor didn’t change over margin after showing a dialog.Neil Hodgson2-0/+8
2013-11-17Add unit tests.Neil Hodgson1-2/+13