aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
AgeCommit message (Collapse)AuthorFilesLines
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.
2013-09-18Reimplement notifications from ScintillaCocoa to ScintillaView as a delegate ↵nyamatongwe1-72/+68
relationship using ScintillaNotificationProtocol. Add optional command:idFrom: method to ScintillaNotificationProtocol for command notifications. In a future version registerNotifyCallback: and ScintillaCocoa::RegisterNotifyCallback will be deprecated.
2013-09-10Bug [#1522]. Don't send selection change notification when scrolling.nyamatongwe1-1/+4
2013-09-09Fix memory leak for margin view.nyamatongwe1-0/+1
2013-09-09Use const for constant strings as recommended in Effective Objective C 2.0nyamatongwe1-1/+1
2013-09-09Since overlay scroll bars, the info bar is always full width so remove variablenyamatongwe1-6/+0
for width and comments that is no longer correct.
2013-09-08Stop exposing Scintilla implementation to clients from ScintillaView header.nyamatongwe1-3/+6
Platform.h and ScintillaCocoa.h are no longer imported in ScintillaView.h
2013-09-08Fix spelling mistakes in comments.nyamatongwe1-7/+7
2013-07-21Fix Clang C++11 compatibility.Neil1-1/+1
2013-06-15Simplify direct access using Scintilla messages and avoid call layers.nyamatongwe1-0/+15
2013-06-15Fix insertText: of ScintillaView to directly call ScintillaCocoa since ↵nyamatongwe1-1/+1
insertText of InnerView was replaced with insertText:replacementRange: to implement NSTextInputClient in [df4058].
2013-05-19The convertRectToScreen: message was introduced in 10.7 so use ↵nyamatongwe1-2/+9
convertBaseToScreen: call on 10.6. convertBaseToScreen: was deprecated in 10.7.
2013-05-04Replacing raw pointers and allocations with std::string and std::vector.nyamatongwe1-14/+6
Don't check result of new as failures throw an exception.
2013-04-24Feature: [feature-requests:#987]. Cocoa user interface validation.nyamatongwe1-0/+22
2013-04-17Remove method no longer needed due to change from NSTextInput to ↵nyamatongwe1-8/+0
NSTextInputClient.
2013-04-17Switch from implementing NSTextInput to its replacement NSTextInputClientnyamatongwe1-7/+31
NSTextInput is slated for deprecation and NSTextInputClient allows the selection of accented characters through pressing and holding the base key.
2013-04-17Implement firstRectForCharacterRange so that composition popups appear near ↵nyamatongwe1-3/+28
insertion.
2013-04-17Restore undo collection after sequence of composition actions by only ↵nyamatongwe1-4/+6
remembering undo collection state when switching to composition, not when composition changed.
2013-04-17When setting composition text, correctly select the indicated text by ↵nyamatongwe1-4/+8
converting range to bytes.
2013-04-09Fix problems with input composition that could stop undo working.nyamatongwe1-0/+5
2013-03-26Detect resizes on the ScintillaView so that text is rewrapped.nyamatongwe1-1/+4
2013-03-15Use an NSScrollView on Cocoa for kinetic scrolling and hiding scrollbars ↵nyamatongwe1-181/+171
unless wanted. Also affects platform-independent code.
2013-03-15Removed owner property as it is not used.nyamatongwe1-1/+0
2013-03-10Extract Window::Cursor enum -> NSCursor* mapping so can be reused.nyamatongwe1-26/+27
2013-03-10Fix spelling in comments. Add missing comment.nyamatongwe1-3/+3
2013-02-24Less intense version of previous change: just mark the view for drawing ↵nyamatongwe1-1/+1
instead of drawing.
2013-02-24Fix problem where abandoned paints may not cause redraw.nyamatongwe1-1/+3
2013-01-30Type casts so will build in std=c++11 mode.nyamatongwe1-4/+4
2013-01-10Removed dead stores.nyamatongwe1-2/+2
2013-01-10Add a replace method and a parameter for backwards search.nyamatongwe1-23/+166
From Mike Lischke.
2013-01-10Turn off undo collection for IME composition.nyamatongwe1-16/+35
From Mike Lischke.
2013-01-04When setting a font name, set first 128 styles insted of 32 as willnyamatongwe1-1/+1
work for more lexers. From Mike Lischke at Oracle.
2013-01-04Implement a delegate for Scintilla notifications.nyamatongwe1-1/+13
From Mike Lischke at Oracle.
2012-09-08Fix extra release of info bar.nyamatongwe1-1/+0
2012-09-06Stop setting the save point from calls that should only be reading.nyamatongwe1-2/+0
2012-08-24Ensure abandoned paints cover full area by using NSView display instead of ↵nyamatongwe1-1/+3
trying to draw more within initial drawing context.
2012-08-14Drop notifications so not sent after ScintillaView freed.nyamatongwe1-0/+1