aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
AgeCommit message (Collapse)AuthorFilesLines
2016-11-05Support for NSAccessibility protocol added sufficient for the VoiceOverNeil Hodgson1-6/+89
screen reader.
2016-10-18Ensure members of FindHighlightLayer freed.Neil Hodgson1-0/+6
Fixes clang analyzer warning.
2016-09-30Recognize the numeric keypad '+', '-', and '/' keys as SCK_ADD, SCK_SUBTRACT,Tse Kit Yam1-3/+20
and SCK_DIVIDE.
2016-09-14Casts for 64 to 32-bit conversions on OS X.Neil Hodgson1-7/+7
2016-08-29Bug [#1854]. Fix: cannot get original input char on Mac for some input-modifiersTse Kit Yam1-1/+1
combinations e.g. Option + e => empty char, Control + k => a char with ascii code 11
2015-11-20Remove line end whitespace.Neil1-23/+23
2015-11-11Implemented idle styling. This allows painting without first styling all visibleNeil1-4/+6
text then styling in the background using idle-time.
2015-10-26Remove unnecessary timer variables.Neil Hodgson1-7/+5
2015-10-26Make timers active in modal dialogs by adding them to NSModalPanelRunLoopMode.Neil Hodgson1-2/+4
From Mike Lischke.
2015-10-26Avoid possibility of ScintillaCocoa receiving idles after deallocation by ↵Neil Hodgson1-0/+13
severing the connection from TimerTarget back to ScintillaCocoa and releasing the notification queue.
2015-09-29Reindented code which had become a mess.Neil Hodgson1-45/+45
2015-09-29Removed unreachable code.Neil Hodgson1-1/+0
2015-09-29Mark unused parameters in Objective-C methods with a pragma.Neil Hodgson1-0/+1
2015-09-04Change FillVirtualSpace to ClearBeforeTentativeStart and delete selected text.johnsonj1-1/+1
2015-09-02Schedule the timer after setting its tolerance to avoid scheduling twice.Neil Hodgson1-5/+6
2015-08-23In C++, new fails with an exception instead of returning NULL so remove handlingNeil Hodgson1-43/+29
of NULL SurfaceImpl objects and replace heap with stack to simplify code.
2015-08-23Potential fix for bug [#1751]. Remove setting of current graphics context.Neil Hodgson1-8/+0
2015-08-22Potential fix for bug [#1751]. Save and restore graphics state in case ↵Neil Hodgson1-0/+3
deleted context was causing a crash.
2015-07-04On Cocoa, translate exceptions into error codes.Neil Hodgson1-44/+50
2015-06-25Bug [#1740]. Cancel autocompletion and calltip when window moved.Neil Hodgson1-0/+11
2015-06-19Fix crash in drag and drop.Neil Hodgson1-0/+2
2015-04-10Since OS X 10.5 no longer supported, remove code that only calledNeil Hodgson1-12/+6
CGContextSetAllowsFontSubpixelPositioning when available.
2015-04-01Bug [#1709]. Check whether pixmap is NULL before using to create bitmap.Neil Hodgson1-1/+2
2015-03-14Fix calltip display bug on Cocoa.Neil Hodgson1-0/+9
2015-03-11Update drag and drop to use current APIs instead of deprecated APIs.Neil Hodgson1-8/+76
2015-02-22Implement additional methods from the NSTextInputClient protocol so that moreNeil Hodgson1-17/+92
features of the IME work. attributedSubstringForProposedRange:actualRange: and characterIndexForPoint: now have full implementations. This required using UTF-16 document indexes in many places as that is what Cocoa wants. Tentative undo is used for the composition text instead of turning off undo as that is safer and similar to IME code on other platforms.
2015-02-16Implement SCI_TARGETASUTF8 and SCI_ENCODEDFROMUTF8 on Cocoa.Neil Hodgson1-0/+89
2015-02-14Fix unused parameter warnings. Remove code that is never executed.Neil Hodgson1-5/+2
2015-02-14Fix warnings for suspicious type conversions and not fully bracketed ↵Neil Hodgson1-13/+17
initializers,
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson1-4/+4
2014-09-12Allow choice between windowed and inline IME.Neil1-0/+5
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson1-27/+82
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-08Made recent refactor work on Cocoa.Neil Hodgson1-4/+4
2014-07-08Specifying some methods as const as they are used from display and measurementNeil1-3/+3
code that will be changed to have read-only access.
2014-06-17Remove unused TopContainer method. Use less specific types when possible.Neil Hodgson1-13/+2
2014-06-07Avoid using ScintillaView.backend from ScintillaCocoa as this may be hidden ↵Neil Hodgson1-2/+1
in the future.
2014-05-03Fix Point and PRectangle constructors to match changes in Platform.h.Neil Hodgson1-6/+5
2014-05-02Use exact SciFnDirect function signature for DirectFunction as earlier versionNeil1-3/+3
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-03-27Surround 10.9-specific calls with version checks to ensure builds on old SDKs.nyamatongwe1-0/+4
2014-03-27Improve scrolling by performing styling in methods called before drawing ↵Neil Hodgson1-0/+51
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-26Do not call AddCharUTF for empty insertions as may crash when autocompletion ↵Neil Hodgson1-4/+7
active or cause other unexpected behaviour.
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.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-1/+1
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-115/+115
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 Hodgson1-0/+22
previously prepared content was shown.
2013-11-03Bug [#1544]. Mac font quality not applied to margin.nyamatongwe1-0/+10
From Mark Yen.
2013-10-25Bug [#1541]. Paste into multiple selections on OSX only inserts at one ↵nyamatongwe1-5/+5
selection point.