aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
AgeCommit message (Collapse)AuthorFilesLines
2017-07-18Bug [#1958]. Make doCommandBySelector work but avoid double effect of 'delete'Neil Hodgson1-4/+7
key.
2017-06-08Indented consistently by using astyle.Neil1-1348/+1146
2017-06-07Use property dot syntax.Neil Hodgson1-57/+57
Part of modernization.
2017-06-07Using modern Objective C literals and indexing.Neil Hodgson1-13/+12
2017-06-07Using instancetype for constructors.Neil Hodgson1-2/+2
2017-06-05Converted to Automatic Reference Counting.Neil Hodgson1-30/+17
2017-04-22Restrict cursor changing to visible bounds so the text area cursor doesn't showNeil1-1/+2
over other views above and below ScintillaView.
2017-04-22Fix a leak of mouse tracking areas.Neil Hodgson1-0/+4
2017-04-15Avoid calling virtual functions in destructor. Mark overridden methods.Neil Hodgson1-0/+1
2017-03-04Fix error with showing find indicator over styles > 127.Neil Hodgson1-1/+3
2017-03-02Fix potential problems with IME on Cocoa when document contains invalid UTF-8.Neil1-0/+1
2017-03-02Bug [#1881]. Revert part of previous fix as it stopped the accented characterNeil1-1/+11
chooser from appearing. Special-case the Chinese "Cangjie" input source.
2017-02-25Bug [#1915]. Fix crash on OS X 10.9 due to accessibility API not available.Chinh Nguyen1-7/+11
2016-12-08Bug [#1891]. Fix crash on view destruction with macOS 10.12.2.Chinh Nguyen1-0/+1
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-3/+29
2016-11-19Moved @private sections from header into implementation.Neil Hodgson1-4/+40
Hid properties and methods which are for internal use.
2016-11-18Remove Scintilla namespace and ScintillaCocoa declaration from ScintillaView.hNeil Hodgson1-3/+12
2016-11-11Make IME indicator visible in single phase drawing mode.Neil1-6/+16
2016-11-11Bug [#1881]. Fix IME bug where selectedRange wasn't implementing correctly.Neil1-4/+26
Also return nil from attributedSubstringForProposedRange for ranges outside document as this is specified behaviour.
2016-11-05Support for NSAccessibility protocol added sufficient for the VoiceOverNeil Hodgson1-0/+231
screen reader.
2016-10-18validAttributesForMarkedText is specified to not return NULL so return anNeil Hodgson1-1/+1
empty array instead. Fixes clang analyser warning.
2015-11-20Remove line end whitespace.Neil1-6/+6
2015-10-27Ensure correct propagation of viewWillDraw even after owner deleted.Neil Hodgson1-1/+3
From Chinh Nguyen.
2015-10-24When deallocating ScintillaView, null out the reference to it from ↵Neil Hodgson1-1/+10
SCIContentView since responsive scrolling causes callbacks after the deallocation. Also remove the scrollview to try to finalize it although it still lives for a short period.
2015-09-29Mark unused parameters in Objective-C methods with a pragma.Neil Hodgson1-0/+5
2015-06-25Bug [#1740]. Cancel autocompletion and calltip when window moved.Neil Hodgson1-0/+12
2015-03-11Update drag and drop to use current APIs instead of deprecated APIs.Neil Hodgson1-24/+39
2015-02-22Implement additional methods from the NSTextInputClient protocol so that moreNeil Hodgson1-110/+131
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-16Fix bugs caused by deleting text with undo collection off when entering IME ↵Neil Hodgson1-14/+40
composition mode. This deleted text isn't in the undo history and it isn't in the document so can never be recovered so makes it impossible to correctly perform undo. Add logging for unexpected situations and throw an exception when undo can't be performed. Ensure empty marked text range is always in canonical (NSNotFound,0) form.
2015-02-14Fix unused parameter warnings. Remove code that is never executed.Neil Hodgson1-2/+10
2015-02-14Fix warnings for suspicious type conversions and not fully bracketed ↵Neil Hodgson1-18/+18
initializers,
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson1-13/+13
2015-02-14Fix doc comments.Neil Hodgson1-1/+1
2014-12-07Replace calls to deprecated methods with their current equivalents.Neil Hodgson1-9/+3
2014-07-15Switch from tracking rectangle to tracking area. This is the more recent ↵Neil Hodgson1-10/+22
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 Hodgson1-2/+5
well as NSString, since insertText: is from the NSResponder superclass where it is defined to accept both.
2014-05-02Type cast to make previous change compile on Cocoa.Neil Hodgson1-1/+2
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.nyamatongwe1-0/+2
2014-03-27Improve scrolling by performing styling in methods called before drawing ↵Neil Hodgson1-0/+31
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-26Refactor range deletion into a method on ScintillaView.Neil Hodgson1-19/+17
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.
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-46/+46
Parameter names added to method declarations.
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 Hodgson1-0/+7
2013-11-11Add @2x images for cursors and info bar to match retina displays.Neil Hodgson1-2/+2
From Mike Lischke.
2013-10-30Bug [#1542]. Margin click focus handling on Cocoa.nyamatongwe1-0/+2
2013-10-14To follow naming conventions InnerView was renamed to SCIContentView andnyamatongwe1-8/+8
MarginView was renamed to SCIMarginView.
2013-10-06Allow subclassing InnerView.nyamatongwe1-1/+12
2013-09-30Removed command: method from ScintillaNotificationProtocol as all events can ↵nyamatongwe1-21/+2
now be received through the notification: method.