aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2015-05-29Bug [#1728]. Initialise fields to nil when they may be released in ReleaseViewsNeil Hodgson1-3/+15
without ever being allocated by Create.
2014-01-20Fix typo in commentStefan Weil1-1/+1
2014-01-20Fix typo in string (cocoa)Stefan Weil1-1/+1
2015-05-13Bug [#1703]. Fix bug when drawing text margins in buffered mode which would useNeil1-1/+5
default encoding instead of chosen encoding.
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-17Bug [#1706]. Release list box objects when autocompletion closed.Neil Hodgson1-15/+42
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 Hodgson3-33/+120
2015-02-26Changed selection appearance to lighter as that leaves the text more ↵Neil Hodgson1-0/+1
readable on 10.10.
2015-02-26Fix bug where autocompletion and call-ups were placed on the wrong screen due toNeil Hodgson1-5/+3
some code using the screen of the window and other code using the main screen.
2015-02-22Implement additional methods from the NSTextInputClient protocol so that moreNeil Hodgson4-129/+230
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-16Implement SCI_TARGETASUTF8 and SCI_ENCODEDFROMUTF8 on Cocoa.Neil Hodgson2-0/+91
2015-02-14Fix unused parameter warnings. Remove code that is never executed.Neil Hodgson2-7/+12
2015-02-14Fix warnings for suspicious type conversions and not fully bracketed ↵Neil Hodgson6-70/+72
initializers,
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson2-17/+17
2015-02-14Fix doc comments.Neil Hodgson3-3/+3
2014-12-16Feature [feature-requests:#1091]. S-Record lexer added on OS X.Neil Hodgson1-0/+4
2014-12-07Replace calls to deprecated methods with their current equivalents.Neil Hodgson2-12/+7
2014-12-06Updated by Xcode 6.1Neil Hodgson1-3/+1
2014-10-10Remove 32-bit support.Neil Hodgson1-2/+2
2014-10-02Switch C++ runtime library to libc++ to allow use of features from C++11.Neil Hodgson1-0/+4
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