aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
AgeCommit message (Collapse)AuthorFilesLines
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-5/+0
This allows removal of related #include statements.
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-1/+1
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil1-2/+2
2018-04-22Fix problems with 64-bit positions by using types that expand to 64-bits andNeil Hodgson1-1/+1
removing casts to int.
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2018-03-03Promote methods from int to ptrdiff_t to allow extension to 64-bits.Neil1-2/+2
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-1/+0
2017-06-12Removed unused functions and methods from Platform.h.Neil1-0/+1
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
2017-06-08Indented consistently by using astyle.Neil1-160/+158
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-04-22Restrict cursor changing to visible bounds so the text area cursor doesn't showNeil1-0/+1
over other views above and below ScintillaView.
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-19Fix problem compiling recent change with Xcode.Neil Hodgson1-1/+1
2017-04-19Use =delete for unwanted functions.Neil1-4/+3
2017-04-15Avoid calling virtual functions in destructor. Mark overridden methods.Neil Hodgson1-1/+1
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil1-1/+1
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-4/+5
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-3/+3
and lines.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-04Use "override" for Cocoa platform code and add to Editor where possible.Neil Hodgson1-49/+49
2017-03-02Fix potential problems with IME on Cocoa when document contains invalid UTF-8.Neil1-0/+1
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-0/+3
2016-11-19Moved @private sections from header into implementation.Neil Hodgson1-1/+2
Hid properties and methods which are for internal use.
2016-11-05Support for NSAccessibility protocol added sufficient for the VoiceOverNeil Hodgson1-2/+6
screen reader.
2015-10-26Remove unnecessary timer variables.Neil Hodgson1-2/+0
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-06-25Bug [#1740]. Cancel autocompletion and calltip when window moved.Neil Hodgson1-0/+1
2015-02-22Implement additional methods from the NSTextInputClient protocol so that moreNeil Hodgson1-0/+7
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/+2
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson1-1/+6
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-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 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-1/+0
2014-05-24Header include statements are now in a standardised order with that orderNeil1-4/+4
defined in scripts/HeaderOrder.txt.
2014-05-02Use exact SciFnDirect function signature for DirectFunction as earlier versionNeil1-1/+1
depended on undefined behaviour.
2014-03-27Improve scrolling by performing styling in methods called before drawing ↵Neil Hodgson1-0/+3
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.
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-7/+7
Parameter names added to method declarations.
2013-12-03Fix problems with appearance of newly scrolled content on OS X 10.9 where ↵Neil Hodgson1-0/+2
previously prepared content was shown.
2013-10-14To follow naming conventions InnerView was renamed to SCIContentView andnyamatongwe1-4/+4
MarginView was renamed to SCIMarginView.
2013-09-30Removed command: method from ScintillaNotificationProtocol as all events can ↵nyamatongwe1-1/+0
now be received through the notification: method.
2013-09-18Reimplement notifications from ScintillaCocoa to ScintillaView as a delegate ↵nyamatongwe1-0/+4
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-08Stop exposing Scintilla implementation to clients from ScintillaView header.nyamatongwe1-20/+0
Platform.h and ScintillaCocoa.h are no longer imported in ScintillaView.h
2013-09-08Fix spelling mistakes in comments.nyamatongwe1-1/+1
2013-07-23Only use map for character representations instead of unordered_map where ↵nyamatongwe1-3/+0
possible. unordered_map caused too many porting problems.
2013-07-22Added the character representation feature.Neil1-0/+3
2013-07-11Include case conversion data in Scintilla so that all platforms will performNeil1-0/+2
case conversion of Unicode text in accordance with Unicode.