aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2015-10-26Remove unnecessary timer variables.Neil Hodgson2-9/+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-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-10-23Add a menu command to ScintillaTest to add or remove an extra ScintillaNeil Hodgson3-1/+34
view on the right of the window to allow testing deletion of a ScintillaView.
2015-10-23Xcode 7 didn't like the xib so upgraded it to the current format.Neil Hodgson1-3992/+609
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 Hodgson2-0/+6
2015-09-29ScreenMax no longer depends on window so do not pass as argument.Neil Hodgson1-3/+3
2015-09-29Mark local functions as static.Neil Hodgson1-2/+2
2015-09-25Updated as recommended by Xcode 7.Neil Hodgson4-4/+10
2015-09-21Add short version string to Scintilla framework to specify the release version.Neil Hodgson1-1/+3
The current version value (CFBundleVersion) is a build version.
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-08-07Copy Sci_Position.h into framework for Cocoa.Neil Hodgson1-0/+4
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-14Fix Xcode project file to contain all the individual lexers split out from ↵Neil Hodgson1-5/+25
LexOthers in the previous commit.
2015-07-04On Cocoa, translate exceptions into error codes.Neil Hodgson1-44/+50
2015-06-26Updated OS X deployment target to 10.7 at the project level as it already wasNeil Hodgson1-2/+2
at the target level.
2015-06-25Bug [#1740]. Cancel autocompletion and calltip when window moved.Neil Hodgson3-0/+24
2015-06-25Bug [#1740]. Improve autocompletion positioning to avoid being off-screen.Neil Hodgson1-2/+14
Not perfect when the Scintilla view is overlapping the screen edge or dock as the position moved to is based on the view's area.
2015-06-19Fix crash in drag and drop.Neil Hodgson2-3/+13
2015-06-19Updated test program with Xcode recommended settings.Neil Hodgson1-5/+7
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